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
commit63d2084e00bd32be55242810bf15c995d2ee8712 (patch)
tree40890f1e908c9a50a4d01f841c282bc469781a6d /x11-libs/motif-config
parentfix upgrading from unslottet version (diff)
downloadgentoo-2-63d2084e00bd32be55242810bf15c995d2ee8712.tar.gz
gentoo-2-63d2084e00bd32be55242810bf15c995d2ee8712.tar.bz2
gentoo-2-63d2084e00bd32be55242810bf15c995d2ee8712.zip
fix
(Portage version: 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
;;