diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2000-09-20 11:39:05 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2000-09-20 11:39:05 +0000 |
commit | 45992494ccd32cf112f1e9de7ced6257efb18c7b (patch) | |
tree | 783fb00295985d853e7528a23724ea0b51d69933 /perl-install/standalone/printerdrake | |
parent | e1c3152ed9c30f39b18077938e991518399f3927 (diff) | |
download | drakx-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-x | perl-install/standalone/printerdrake | 2 |
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); |