summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--NEWS1
-rwxr-xr-xurpmi7
2 files changed, 1 insertions, 7 deletions
diff --git a/NEWS b/NEWS
index 0d96c62b..9b492de4 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,7 @@
- fix testsuite regressions
- o make 'basename' option work again for rpmdrake
- urpmi:
+ o do not try to run gmessage as gtkdialogs is not packaged in Mga
o heavy refactorization
- urpmf:
o fix -m option not showing media names (mga#5916)
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;