summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2005-03-25 07:29:22 +0000
committerHeinrich Wendel <lanius@gentoo.org>2005-03-25 07:29:22 +0000
commitd7508a5bc8924ed6439de729d90457b06c5647b9 (patch)
tree06808924039218b3795eff7d3dcc04a4ad3975d9 /x11-libs/motif-config
parentfix upgrading from unslottet version (diff)
downloadhistorical-d7508a5bc8924ed6439de729d90457b06c5647b9.tar.gz
historical-d7508a5bc8924ed6439de729d90457b06c5647b9.tar.bz2
historical-d7508a5bc8924ed6439de729d90457b06c5647b9.zip
fix
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'x11-libs/motif-config')
-rwxr-xr-xx11-libs/motif-config/files/motif-config-0.86
1 files changed, 5 insertions, 1 deletions
diff --git a/x11-libs/motif-config/files/motif-config-0.8 b/x11-libs/motif-config/files/motif-config-0.8
index ddb2199277d5..79f46593d172 100755
--- a/x11-libs/motif-config/files/motif-config-0.8
+++ b/x11-libs/motif-config/files/motif-config-0.8
@@ -68,6 +68,10 @@ _check_root() {
_activate_profile() {
_check_root
+ if [ -z "${1}" ]; then
+ return 0
+ fi
+
new=${1}
# libs
for file in `ls /usr/@@LIBDIR@@/${new}/ | grep lib`; do
@@ -357,7 +361,7 @@ for x in "$@"; do
;;
-v|--version)
- echo "motif-config-0.7"
+ echo "motif-config-0.8"
exit 0
;;