From 126777bc019a54afb4ec51299f2cf9d2841698aa Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 25 Apr 2007 12:26:16 +0000 Subject: re-sync after the big svn loss --- perl-install/standalone/drakautoinst | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'perl-install/standalone/drakautoinst') 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 :-( -- cgit v1.2.1