diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-09-14 15:32:50 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-09-14 15:32:50 +0000 |
commit | 3e002c961f8c50e17e1a1a1e944ac7a57c5037cb (patch) | |
tree | 2dc95016344f41bb586c6699982c2b580ead0658 | |
parent | 9d3001054e09b04a751587882086d4dc1d2c6c44 (diff) | |
download | urpmi-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-x | urpmi | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |