diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-04-25 12:26:16 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-04-25 12:26:16 +0000 |
commit | 126777bc019a54afb4ec51299f2cf9d2841698aa (patch) | |
tree | 97f76e571902ead55ba138f1156a4b4f00b9b779 /perl-install/standalone/drakautoinst | |
parent | f1f67448efc714873378dfeb8279fae68054a90a (diff) | |
download | drakx-126777bc019a54afb4ec51299f2cf9d2841698aa.tar drakx-126777bc019a54afb4ec51299f2cf9d2841698aa.tar.gz drakx-126777bc019a54afb4ec51299f2cf9d2841698aa.tar.bz2 drakx-126777bc019a54afb4ec51299f2cf9d2841698aa.tar.xz drakx-126777bc019a54afb4ec51299f2cf9d2841698aa.zip |
re-sync after the big svn loss
Diffstat (limited to 'perl-install/standalone/drakautoinst')
-rwxr-xr-x | perl-install/standalone/drakautoinst | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/perl-install/standalone/drakautoinst b/perl-install/standalone/drakautoinst index b4b1e3453..8c8e98a24 100755 --- a/perl-install/standalone/drakautoinst +++ b/perl-install/standalone/drakautoinst @@ -3,7 +3,7 @@ # # Guillaume Cottenceau (gc@mandrakesoft.com) # -# Copyright 2001-2005 Mandriva +# Copyright 2001-2006 Mandriva # # This software may be freely redistributed under the terms of the GNU # public license. @@ -22,7 +22,6 @@ use interactive; use devices; use detect_devices; use steps; -use commands; use fs; use Data::Dumper; @@ -77,7 +76,7 @@ do { log::explanations(N("Creating auto install floppy")); my $_w = $in->wait_message('', N("Creating auto install floppy")); eval { - commands::dd("if=$imagefile", "of=$dev", "bs=1440", "count=1024"); + run_program::run('dd', "if=$imagefile", "of=$dev", "bs=1440", "count=1024"); common::sync(); }; $again = $@; #- grrr... $@ is localized in code block :-( @@ -91,7 +90,7 @@ if (-f $imagefile2) { log::explanations(N("Creating auto install floppy (drivers disk)")); my $_w = $in->wait_message('', N("Creating auto install floppy")); eval { - commands::dd("if=$imagefile2", "of=$dev", "bs=1440", "count=1024"); + run_program::run('dd', "if=$imagefile2", "of=$dev", "bs=1440", "count=1024"); common::sync(); }; $again = $@; #- grrr... $@ is localized in code block :-( |