summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/printerdrake
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2000-09-20 11:39:05 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2000-09-20 11:39:05 +0000
commit45992494ccd32cf112f1e9de7ced6257efb18c7b (patch)
tree783fb00295985d853e7528a23724ea0b51d69933 /perl-install/standalone/printerdrake
parente1c3152ed9c30f39b18077938e991518399f3927 (diff)
downloaddrakx-backup-do-not-use-45992494ccd32cf112f1e9de7ced6257efb18c7b.tar
drakx-backup-do-not-use-45992494ccd32cf112f1e9de7ced6257efb18c7b.tar.gz
drakx-backup-do-not-use-45992494ccd32cf112f1e9de7ced6257efb18c7b.tar.bz2
drakx-backup-do-not-use-45992494ccd32cf112f1e9de7ced6257efb18c7b.tar.xz
drakx-backup-do-not-use-45992494ccd32cf112f1e9de7ced6257efb18c7b.zip
new urpmi calls
Diffstat (limited to 'perl-install/standalone/printerdrake')
-rwxr-xr-xperl-install/standalone/printerdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/printerdrake b/perl-install/standalone/printerdrake
index 14715e8e3..615f3c8d0 100755
--- a/perl-install/standalone/printerdrake
+++ b/perl-install/standalone/printerdrake
@@ -44,6 +44,6 @@ $printer->{mode} ||= 'cups'; #- assume this default if nothing found.
my $in = vnew interactive('su');
-printerdrake::main(eval { printer::getinfo('') } || {}, $in, sub { my $l = join(' ', @_); `urpmi --auto $l` });
+printerdrake::main(eval { printer::getinfo('') } || {}, $in, sub { $in->suspend; system("urpmi --auto --best-output " . join(' ', @_)); $in->resume; });
$in->exit(0);