summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-08-31 16:49:50 +0000
committerFrancois Pons <fpons@mandriva.com>2001-08-31 16:49:50 +0000
commit028c324fcef83f738d7fc5b5ddea0fedc0ef0f27 (patch)
tree95983137b4a81b7297b7497117e74d9c290470ec /perl-install/standalone.pm
parent37ccb25e7fb0131d0275edf0f4446e0d832a6d9d (diff)
downloaddrakx-backup-do-not-use-028c324fcef83f738d7fc5b5ddea0fedc0ef0f27.tar
drakx-backup-do-not-use-028c324fcef83f738d7fc5b5ddea0fedc0ef0f27.tar.gz
drakx-backup-do-not-use-028c324fcef83f738d7fc5b5ddea0fedc0ef0f27.tar.bz2
drakx-backup-do-not-use-028c324fcef83f738d7fc5b5ddea0fedc0ef0f27.tar.xz
drakx-backup-do-not-use-028c324fcef83f738d7fc5b5ddea0fedc0ef0f27.zip
add option --allow-medium-change to force asking question even if --auto is
given on command line of urpmi, for installing package so that a dialog appears.
Diffstat (limited to 'perl-install/standalone.pm')
-rw-r--r--perl-install/standalone.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone.pm b/perl-install/standalone.pm
index 09d49e5b6..8f3c641bb 100644
--- a/perl-install/standalone.pm
+++ b/perl-install/standalone.pm
@@ -22,7 +22,7 @@ sub interactive::do_pkgs {
sub install {
my ($o, @l) = @_;
$o->{in}->suspend;
- my $ret = system('urpmi', '--auto', '--best-output', @l) == 0;
+ my $ret = system('urpmi', '--allow-medium-change', '--auto', '--best-output', @l) == 0;
$o->{in}->resume;
$ret;
}