summaryrefslogtreecommitdiffstats
path: root/lib/MGA/DrakISO/Live.pm
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2017-12-18 23:13:49 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2017-12-18 23:13:49 +0000
commit7f97b53ea0cadced2321414a2b7054a4811eda6f (patch)
treef0121a7ecd1cdf31e95a376b7cda14692880df97 /lib/MGA/DrakISO/Live.pm
parentfce42d85023e9e0cbd3b7fbd98ff3b734814612a (diff)
downloaddrakiso-7f97b53ea0cadced2321414a2b7054a4811eda6f.tar
drakiso-7f97b53ea0cadced2321414a2b7054a4811eda6f.tar.gz
drakiso-7f97b53ea0cadced2321414a2b7054a4811eda6f.tar.bz2
drakiso-7f97b53ea0cadced2321414a2b7054a4811eda6f.tar.xz
drakiso-7f97b53ea0cadced2321414a2b7054a4811eda6f.zip
Remove unused code.
Diffstat (limited to 'lib/MGA/DrakISO/Live.pm')
-rw-r--r--lib/MGA/DrakISO/Live.pm7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/MGA/DrakISO/Live.pm b/lib/MGA/DrakISO/Live.pm
index 654b066..8f54e62 100644
--- a/lib/MGA/DrakISO/Live.pm
+++ b/lib/MGA/DrakISO/Live.pm
@@ -64,13 +64,6 @@ sub get_initrd_name {
'initrd-' . $live->find_kernel->{version} . '.img';
}
-sub get_lib_prefix {
- my ($live) = @_;
- my $lib_prefix = find { glob($live->get_system_root . $_ . '/libc.so.*') } qw(/lib64 /lib);
- $lib_prefix or die 'unable to find system libraries in /lib or /lib64';
- $lib_prefix;
-}
-
sub get_absolute_path {
my ($live, $path) = @_;
if (defined $path && substr($path, 0, 1) ne '/') {