aboutsummaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2009-06-06 13:47:08 +0000
committerUlrich Müller <ulm@gentoo.org>2009-06-06 13:47:08 +0000
commitb2c6ed85e43d84f447689b5e6d97263c3f2d1ff7 (patch)
tree4702cc9dfa8b62ff2fc45c63be007fffa64f438c /libs
parentSmall syntax tweak in do_list. (diff)
downloadeselect-b2c6ed85e43d84f447689b5e6d97263c3f2d1ff7.tar.gz
eselect-b2c6ed85e43d84f447689b5e6d97263c3f2d1ff7.tar.bz2
eselect-b2c6ed85e43d84f447689b5e6d97263c3f2d1ff7.zip
Allow only lower case for package manager names.
svn path=/trunk/; revision=582
Diffstat (limited to 'libs')
-rw-r--r--libs/package-manager.bash.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/package-manager.bash.in b/libs/package-manager.bash.in
index 864fae3..edb4c7c 100644
--- a/libs/package-manager.bash.in
+++ b/libs/package-manager.bash.in
@@ -19,9 +19,9 @@
package_manager() {
local pm
case ${PACKAGE_MANAGER:-@PACKAGE_MANAGER@} in
- portage|Portage)
+ portage)
pm=portage ;;
- paludis|Paludis)
+ paludis)
set -- ${PALUDIS_COMMAND:-paludis}
type "$1" &>/dev/null && pm=paludis ;;
esac