summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-09-14 15:32:50 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-09-14 15:32:50 +0000
commit3e002c961f8c50e17e1a1a1e944ac7a57c5037cb (patch)
tree2dc95016344f41bb586c6699982c2b580ead0658
parent9d3001054e09b04a751587882086d4dc1d2c6c44 (diff)
downloadurpmi-3e002c961f8c50e17e1a1a1e944ac7a57c5037cb.tar
urpmi-3e002c961f8c50e17e1a1a1e944ac7a57c5037cb.tar.gz
urpmi-3e002c961f8c50e17e1a1a1e944ac7a57c5037cb.tar.bz2
urpmi-3e002c961f8c50e17e1a1a1e944ac7a57c5037cb.tar.xz
urpmi-3e002c961f8c50e17e1a1a1e944ac7a57c5037cb.zip
Don't trust closures wrt anonymous stashes
-rwxr-xr-xurpmi2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmi b/urpmi
index c1a1978e..09f75810 100755
--- a/urpmi
+++ b/urpmi
@@ -517,7 +517,7 @@ $urpm->copy_packages_of_removable_media(
ask_for_medium => (!$urpm->{options}{auto} || $allow_medium_change) && sub {
my $msg = N("Please insert the medium named \"%s\" on device [%s]", $_[0], $_[1]);
my $msg2 = N("Press Enter when ready...");
- if ($ENV{DISPLAY} && our $gui) {
+ if ($ENV{DISPLAY} && $::gui) {
#- probably run from a drak tool
my $gmessage = find { -x $_ } '/usr/X11R6/bin/gmessage', '/usr/bin/gmessage';
if ($gmessage) {