summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2005-02-17 13:22:38 +0000
committerHeinrich Wendel <lanius@gentoo.org>2005-02-17 13:22:38 +0000
commit8e03293b6c627dddff97d82e74d65eb1891e4ae4 (patch)
tree98c61a9243d77d629af063fa9a04b6a1c4107186 /x11-libs/motif-config/files
parentMissing deps (Manifest recommit) (diff)
downloadgentoo-2-8e03293b6c627dddff97d82e74d65eb1891e4ae4.tar.gz
gentoo-2-8e03293b6c627dddff97d82e74d65eb1891e4ae4.tar.bz2
gentoo-2-8e03293b6c627dddff97d82e74d65eb1891e4ae4.zip
small fix
(Portage version: 2.0.51-r15)
Diffstat (limited to 'x11-libs/motif-config/files')
-rwxr-xr-xx11-libs/motif-config/files/motif-config-0.14
1 files changed, 2 insertions, 2 deletions
diff --git a/x11-libs/motif-config/files/motif-config-0.1 b/x11-libs/motif-config/files/motif-config-0.1
index 62c2c63adcaf..124abb72e212 100755
--- a/x11-libs/motif-config/files/motif-config-0.1
+++ b/x11-libs/motif-config/files/motif-config-0.1
@@ -268,10 +268,10 @@ uninstall_profile() {
# cache which profile was removed for upgrades
# little hack, because portage has no way
# to detect if a package was upgraded
- echo "${1}" > "${PROFILE_PATH}/removed"
-
+
# activate next profile if non is activated
if [ "`cat $CONFIG_FILE`" == "${1}" ]; then
+ echo "${1}" > "${PROFILE_PATH}/removed"
switch_profile
fi