diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2017-12-18 23:13:49 +0000 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2017-12-18 23:13:49 +0000 |
commit | 7f97b53ea0cadced2321414a2b7054a4811eda6f (patch) | |
tree | f0121a7ecd1cdf31e95a376b7cda14692880df97 /lib/MGA/DrakISO/Live.pm | |
parent | fce42d85023e9e0cbd3b7fbd98ff3b734814612a (diff) | |
download | drakiso-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.pm | 7 |
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 '/') { |