summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-06 17:09:07 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-06 17:09:07 +0000
commit908006e324b3c03ca8b389d2c294c617ccbe5468 (patch)
treeb39c077c83a7b7fb35284e36de553941982cab68
parent4587bccc839b48993aee969c4427beae1c813af7 (diff)
downloadurpmi-908006e324b3c03ca8b389d2c294c617ccbe5468.tar
urpmi-908006e324b3c03ca8b389d2c294c617ccbe5468.tar.gz
urpmi-908006e324b3c03ca8b389d2c294c617ccbe5468.tar.bz2
urpmi-908006e324b3c03ca8b389d2c294c617ccbe5468.tar.xz
urpmi-908006e324b3c03ca8b389d2c294c617ccbe5468.zip
bacport fix --expect-install (broken since 4.9.30!)
-rw-r--r--NEWS2
-rw-r--r--urpm/args.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index a53eca5a..18ccda1a 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,8 @@
- urpmf
o fix an *old* bug (since december 2002) making urpmf keeps parsed
hdlist files in memory (was fixed for multitags, but not for simple tags)
+- urpmi:
+ o fix --expect-install (broken since 4.9.30!)
Version 4.10.14.2 - 21 December 2007, by Pascal "Pixel" Rigaux
diff --git a/urpm/args.pm b/urpm/args.pm
index cb4d0e9f..c5460fe3 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -151,7 +151,7 @@ my %options_spec = (
noscripts => sub { $urpm->{options}{noscripts} = 1 },
repackage => sub { $urpm->{options}{repackage} = 1 },
'more-choices' => sub { $urpm->{options}{morechoices} = 1 },
- 'expect-install!' => \$::expect_install,
+ 'expect-install!' => \$::urpm::main_loop::expect_install,
'nolock' => \$options{nolock},
restricted => \$::restricted,
'no-md5sum' => \$::nomd5sum,