summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xurpmi5
1 files changed, 2 insertions, 3 deletions
diff --git a/urpmi b/urpmi
index f03ab716..130a705d 100755
--- a/urpmi
+++ b/urpmi
@@ -521,9 +521,8 @@ $urpm->copy_packages_of_removable_media(
#- probably run from a drak tool
my $gmessage = find { -x $_ } '/usr/X11R6/bin/gmessage', '/usr/bin/gmessage';
if ($gmessage) {
- my $m = to_utf8("\n$msg\n\n$msg2");
- system($gmessage, $m);
- return 1;
+ my $m = to_utf8("\n$msg\n");
+ return system($gmessage, '-buttons', N("Ok") . ':0,' . N("Cancel") . ':1', $m);
}
}
return defined message_input("$msg\n$msg2 ");