summaryrefslogtreecommitdiffstats
path: root/gurpmi2
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-11-10 09:19:22 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-11-10 09:19:22 +0000
commitb306c1a29317c0f0af8d07d2b9026959c339d033 (patch)
tree2c72fea4d685fd51000e5f19c51cf991aa8be47e /gurpmi2
parent5b6ff038ec8e4bdc82ed221f02a57e6a7ebc4a5f (diff)
downloadurpmi-b306c1a29317c0f0af8d07d2b9026959c339d033.tar
urpmi-b306c1a29317c0f0af8d07d2b9026959c339d033.tar.gz
urpmi-b306c1a29317c0f0af8d07d2b9026959c339d033.tar.bz2
urpmi-b306c1a29317c0f0af8d07d2b9026959c339d033.tar.xz
urpmi-b306c1a29317c0f0af8d07d2b9026959c339d033.zip
- adapt ->translate_why_unselected to do what each callers do: sort its args and return a single string
- create translate_why_unselected_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 947c1c73..21a30ce3 100755
--- a/gurpmi2
+++ b/gurpmi2
@@ -79,7 +79,7 @@ my @ask_unselect = $urpm->unselected_packages($state);
@ask_unselect
? ask_continue(N(
"Some requested packages cannot be installed:\n%s\nContinue installation anyway?",
- join "\n", $urpm->translate_why_unselected($state, sort @ask_unselect)
+ $urpm->translate_why_unselected($state, @ask_unselect)
), \&do_install)
: do_install();