summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Chaumette <dchaumette@mandriva.com>2003-08-29 09:55:14 +0000
committerDamien Chaumette <dchaumette@mandriva.com>2003-08-29 09:55:14 +0000
commit944eb758e1bcac9924bd4a0dd37f23b44bb958ec (patch)
treecd26bba329303d11e0a8ebdc6d132130aba988f7
parent6490e8aed0673d12393d39f132394b0c46487ef8 (diff)
downloaddrakx-944eb758e1bcac9924bd4a0dd37f23b44bb958ec.tar
drakx-944eb758e1bcac9924bd4a0dd37f23b44bb958ec.tar.gz
drakx-944eb758e1bcac9924bd4a0dd37f23b44bb958ec.tar.bz2
drakx-944eb758e1bcac9924bd4a0dd37f23b44bb958ec.tar.xz
drakx-944eb758e1bcac9924bd4a0dd37f23b44bb958ec.zip
remove system("cp..."); (I suck so much...)
-rw-r--r--perl-install/network/adsl.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm
index 7a109f3c1..a576ccef8 100644
--- a/perl-install/network/adsl.pm
+++ b/perl-install/network/adsl.pm
@@ -127,8 +127,7 @@ sub load_firmware_floppy {
my $_b = before_leaving { fs::umount("/mnt") };
if (-e "/mnt/$file") {
- cp_af("/mnt/$file");
- system("cp /mnt/$file $destination");
+ cp_af("/mnt/$file $destination");
} else { $failed ||= N("Firmware copy failed, file %s not found", $file) }
eval { $in->ask_warn('', $failed || N("Firmware copy succeeded")) }; $in->exit if $@ =~ /wizcancel/;