summaryrefslogtreecommitdiffstats
path: root/urpmi
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-06-08 18:52:27 +0000
committerThierry Vignaud <tv@mageia.org>2012-06-08 18:52:27 +0000
commit9e9d016d906a2fbb1015883197ae204b0fcf0af5 (patch)
tree85409a59ba800f1d0869332bbd94cb3da67017b3 /urpmi
parent4755dc00329ff2269d96b53af232d2c021d300e9 (diff)
downloadurpmi-9e9d016d906a2fbb1015883197ae204b0fcf0af5.tar
urpmi-9e9d016d906a2fbb1015883197ae204b0fcf0af5.tar.gz
urpmi-9e9d016d906a2fbb1015883197ae204b0fcf0af5.tar.bz2
urpmi-9e9d016d906a2fbb1015883197ae204b0fcf0af5.tar.xz
urpmi-9e9d016d906a2fbb1015883197ae204b0fcf0af5.zip
(copy_removable) gtkdialogs (and thus /usr/bin/gmessage) is not packaged in Mga
Diffstat (limited to 'urpmi')
-rwxr-xr-xurpmi7
1 files changed, 0 insertions, 7 deletions
diff --git a/urpmi b/urpmi
index 74df18ff..a8b3f2d3 100755
--- a/urpmi
+++ b/urpmi
@@ -635,13 +635,6 @@ my $exit_code = urpm::main_loop::run($urpm, $state,
\@ask_unselect, \%requested, {
(!$urpm->{options}{auto} || $allow_medium_change ? (copy_removable => sub {
my $msg = N("Please insert the medium named \"%s\"", $_[0]);
- if ($ENV{DISPLAY} && $::gui) {
- #- probably run from a drakx
- my $gmessage = '/usr/bin/gmessage';
- if (-x $gmessage) {
- return system($gmessage, '-buttons', N("Ok") . ':1,' . N("Cancel") . ':0', "\n$msg\n");
- }
- }
if (eval { require Hal::Cdroms; 1 }) {
print "$msg\n";
Hal::Cdroms->new->wait_for_insert;