diff options
author | Heinrich Wendel <lanius@gentoo.org> | 2005-02-17 13:22:38 +0000 |
---|---|---|
committer | Heinrich Wendel <lanius@gentoo.org> | 2005-02-17 13:22:38 +0000 |
commit | 8e03293b6c627dddff97d82e74d65eb1891e4ae4 (patch) | |
tree | 98c61a9243d77d629af063fa9a04b6a1c4107186 /x11-libs/motif-config/files | |
parent | Missing deps (Manifest recommit) (diff) | |
download | gentoo-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-x | x11-libs/motif-config/files/motif-config-0.1 | 4 |
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 |