diff options
author | Francois Pons <fpons@mandriva.com> | 2000-02-10 18:59:34 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2000-02-10 18:59:34 +0000 |
commit | 011cd29962ce3251d3d2816334a62846b5554ce6 (patch) | |
tree | d0b0dba387bf30ed694edcdaa460b571676541ae /perl-install/commands.pm | |
parent | ed7a5159df93917b8e6a17e9db3686d58c2ef9ab (diff) | |
download | drakx-backup-do-not-use-011cd29962ce3251d3d2816334a62846b5554ce6.tar drakx-backup-do-not-use-011cd29962ce3251d3d2816334a62846b5554ce6.tar.gz drakx-backup-do-not-use-011cd29962ce3251d3d2816334a62846b5554ce6.tar.bz2 drakx-backup-do-not-use-011cd29962ce3251d3d2816334a62846b5554ce6.tar.xz drakx-backup-do-not-use-011cd29962ce3251d3d2816334a62846b5554ce6.zip |
*** empty log message ***
Diffstat (limited to 'perl-install/commands.pm')
-rw-r--r-- | perl-install/commands.pm | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/perl-install/commands.pm b/perl-install/commands.pm index 3284354a6..bb3c6e04b 100644 --- a/perl-install/commands.pm +++ b/perl-install/commands.pm @@ -415,7 +415,7 @@ sub insmod { unless (-r ($f = "/lib/modules/$_.o")) { $f = "/tmp/$_.o"; if (-e "/lib/modules.cz2") { - run_program::run("extract_archive /lib/modules /tmp $_.o"); + run_program::run("extract_archive /lib/modules.cz2 /tmp $_.o"); } elsif (-e "/lib/modules.cpio.bz2") { run_program::run("cd /tmp ; bzip2 -cd /lib/modules.cpio.bz2 | cpio -i $_.o"); } else { @@ -533,12 +533,9 @@ sub du { print &$f($_) >> 1, "\t$_\n" foreach @_ ? @_ : glob_("*"); } -#my %cached_failed_install_cpio; -#- double space between sub and install_cpio cuz install_cpio is not a shell command sub install_cpio($$;@) { my ($dir, $name, @more) = @_; -# return if $cached_failed_install_cpio{"$dir $name"}; return "$dir/$name" if -e "$dir/$name"; my $cpio = "$dir.cpio.bz2"; @@ -551,8 +548,6 @@ sub install_cpio($$;@) { my $more = join " ", map { $_ && "$_ $_/*" } @more; run_program::run("cd $dir ; bzip2 -cd $cpio | cpio -id $name $name/* $more"); - #- not found, cache result -# return if $cached_failed_install_cpio{"$dir $name"} = ! -e "$dir/$name"; "$dir/$name"; } |