diff options
-rwxr-xr-x | rpmdrake | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -24,6 +24,7 @@ use MDK::Common 'any'; BEGIN { #- we want to run this code before the Gtk->init of the use-my_gtk my $basename = sub { local $_ = shift; s|/*\s*$||; s|.*/||; $_ }; + #- TODO translate this any { /^--?h/ } @ARGV and do { printf qq(Usage: %s [OPTION]... --changelog-first display changelog before filelist in the description window @@ -1522,9 +1523,11 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-( }, )); if (@invalid_sources) { - interactive_msg_(N("Rpmdrake"), - N("The following packages have bad signatures:\n\n%s\n\nDo you want to continue installation?", - join "\n", sort @invalid_sources), yesno => 1, if_(@invalid_sources > 10, scroll => 1)) or goto return_with_error; + interactive_msg_( + N("Rpmdrake"), + N("The following packages have bad signatures:\n\n%s\n\nDo you want to continue installation?", + join "\n", sort @invalid_sources), yesno => 1, if_(@invalid_sources > 10, scroll => 1), + ) or goto return_with_error; } } |