summaryrefslogtreecommitdiffstats
path: root/gurpmi2
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-11-10 09:13:39 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-11-10 09:13:39 +0000
commit5b6ff038ec8e4bdc82ed221f02a57e6a7ebc4a5f (patch)
tree115241ff7c90ee31dc8c73da39069c597243dac9 /gurpmi2
parent7ba1f0eeaab2f07bf5656ce98fc859e6e9915614 (diff)
downloadurpmi-5b6ff038ec8e4bdc82ed221f02a57e6a7ebc4a5f.tar
urpmi-5b6ff038ec8e4bdc82ed221f02a57e6a7ebc4a5f.tar.gz
urpmi-5b6ff038ec8e4bdc82ed221f02a57e6a7ebc4a5f.tar.bz2
urpmi-5b6ff038ec8e4bdc82ed221f02a57e6a7ebc4a5f.tar.xz
urpmi-5b6ff038ec8e4bdc82ed221f02a57e6a7ebc4a5f.zip
- adapt ->translate_why_removed to do what each callers do: sort its args and return a single string
- create translate_why_removed_one to make function smaller
Diffstat (limited to 'gurpmi2')
-rwxr-xr-xgurpmi22
1 files changed, 1 insertions, 1 deletions
diff --git a/gurpmi2 b/gurpmi2
index c068b3ed..947c1c73 100755
--- a/gurpmi2
+++ b/gurpmi2
@@ -190,7 +190,7 @@ sub do_install {
@ask_remove
? ask_continue(N(
"The following packages have to be removed for others to be upgraded:\n%s\nContinue installation anyway?",
- join "\n", $urpm->translate_why_removed($state, sort @ask_remove)
+ $urpm->translate_why_removed($state, @ask_remove)
), \&do_install_2)
: goto &do_install_2;
}