diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-08-29 10:16:11 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-08-29 10:16:11 +0000 |
commit | b6e03c1a24a0e716455889090187abc03b46acaf (patch) | |
tree | f8a668aa6fc91abcdda1db8a978fd08496f37f59 | |
parent | f22f2f0781b468a815e681c94b6756e41d0734b2 (diff) | |
download | rpmdrake-b6e03c1a24a0e716455889090187abc03b46acaf.tar rpmdrake-b6e03c1a24a0e716455889090187abc03b46acaf.tar.gz rpmdrake-b6e03c1a24a0e716455889090187abc03b46acaf.tar.bz2 rpmdrake-b6e03c1a24a0e716455889090187abc03b46acaf.tar.xz rpmdrake-b6e03c1a24a0e716455889090187abc03b46acaf.zip |
(get_pkgs) (ask_yes_or_no callback) always enable scrolling when asking
question in order to be able to copy/paste error messages
-rwxr-xr-x | Rpmdrake/pkg.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index 1f27c86f..b750fffa 100755 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -613,7 +613,7 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-( # handle 'allow-force' and 'allow-nodeps' options: my ($title, $msg) = @_; local $::main_window = $Rpmdrake::gurpm::mainw->{real_window}; - interactive_msg($title, $msg, yesno => 1, if_(10 < $msg =~ tr/\n/\n/, scroll => 1), + interactive_msg($title, $msg, yesno => 1, scroll => 1, ) or goto return_with_exit_code; }, message => sub { |