aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-09-18 16:52:02 +0000
committerThierry Vignaud <tv@mandriva.org>2007-09-18 16:52:02 +0000
commit765c52abbaf88c41052b16bd897ca7a2f23bd3d8 (patch)
tree15973ba8e5d0afc42a53fd35143e9da25a026457 /Rpmdrake
parent9f7fec8901727f96660617c42baf76682de6fec5 (diff)
downloadrpmdrake-765c52abbaf88c41052b16bd897ca7a2f23bd3d8.tar
rpmdrake-765c52abbaf88c41052b16bd897ca7a2f23bd3d8.tar.gz
rpmdrake-765c52abbaf88c41052b16bd897ca7a2f23bd3d8.tar.bz2
rpmdrake-765c52abbaf88c41052b16bd897ca7a2f23bd3d8.tar.xz
rpmdrake-765c52abbaf88c41052b16bd897ca7a2f23bd3d8.zip
(perform_installation) better looking message for bad signatures
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/pkg.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 67234266..09f4905e 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -654,8 +654,9 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-(
bad_signature => sub {
my ($msg, $msg2) = @_;
local $::main_window = $gurpm->{mainw}->{real_window};
+ $msg =~ s/:$/\n\n/m; # FIXME: to be fixed in urpmi after 2008.0
interactive_msg(
- N("Warning"), "$msg\n$msg2", yesno => 1, if_(10 < $msg =~ tr/\n/\n/, scroll => 1),
+ N("Warning"), "$msg\n\n$msg2", yesno => 1, if_(10 < $msg =~ tr/\n/\n/, scroll => 1),
) or goto return_with_exit_code;
},
post_download => sub {