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
commit8b11e763d79d32095de1bd391de12dae38cd2240 (patch)
tree17a57e2c529834b7378a860986b8ae92941d0d03 /x11-libs/motif-config/files
parentMissing deps (diff)
downloadhistorical-8b11e763d79d32095de1bd391de12dae38cd2240.tar.gz
historical-8b11e763d79d32095de1bd391de12dae38cd2240.tar.bz2
historical-8b11e763d79d32095de1bd391de12dae38cd2240.zip
small fix
Package-Manager: portage-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