summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-03 15:10:16 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-03 15:10:16 +0000
commitd93f98029442050952ec54a75e36e34a027567be (patch)
tree8aa3865dc21ad4c3b4843f67949e602eeaebd69d
parentdefd79788b8631cc0a6d3e5729b4bf613295fd27 (diff)
downloadurpmi-d93f98029442050952ec54a75e36e34a027567be.tar
urpmi-d93f98029442050952ec54a75e36e34a027567be.tar.gz
urpmi-d93f98029442050952ec54a75e36e34a027567be.tar.bz2
urpmi-d93f98029442050952ec54a75e36e34a027567be.tar.xz
urpmi-d93f98029442050952ec54a75e36e34a027567be.zip
fix --expect-install (broken since 4.9.30!)
-rw-r--r--NEWS1
-rw-r--r--urpm/args.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 3dfbdcdb..0d95f840 100644
--- a/NEWS
+++ b/NEWS
@@ -14,6 +14,7 @@
- urpmi.addmedia:
o fix --distrib for cdroms (#30613)
- urpmi:
+ o fix --expect-install (broken since 4.9.30!)
o fix using proxy with curl (#38143)
o do not copy rpms from cdrom if only one cdrom is used (#28083)
- urpmf:
diff --git a/urpm/args.pm b/urpm/args.pm
index 8bc8a2ba..b029086b 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -170,7 +170,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,