summaryrefslogtreecommitdiffstats
path: root/gurpmi2
diff options
context:
space:
mode:
Diffstat (limited to 'gurpmi2')
-rwxr-xr-xgurpmi22
1 files changed, 1 insertions, 1 deletions
diff --git a/gurpmi2 b/gurpmi2
index 5c7364d7..922a85c7 100755
--- a/gurpmi2
+++ b/gurpmi2
@@ -152,7 +152,7 @@ sub configure_urpm() {
}
my $nb_lines = $message =~ tr/\n/\n/;
my $w;
- if ($nb_lines > 30) {
+ if ($nb_lines > 30 || $message =~ /^transaction is too small/) {
$w = Gtk2::Dialog->new(N("Warning"), $mainw, [qw(modal destroy-with-parent)], N("Ok"), 'ok');
$w->vbox->add(my $f = Gtk2::Frame->new);
my $sw = create_scrolled_window(my $text = Gtk2::TextView->new);