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/openmotif
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/openmotif')
-rw-r--r--x11-libs/openmotif/openmotif-2.1.30-r12.ebuild6
-rw-r--r--x11-libs/openmotif/openmotif-2.2.3-r6.ebuild6
2 files changed, 6 insertions, 6 deletions
diff --git a/x11-libs/openmotif/openmotif-2.1.30-r12.ebuild b/x11-libs/openmotif/openmotif-2.1.30-r12.ebuild
index 8e5172c0da57..cb27f62e9ef7 100644
--- a/x11-libs/openmotif/openmotif-2.1.30-r12.ebuild
+++ b/x11-libs/openmotif/openmotif-2.1.30-r12.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/openmotif/openmotif-2.1.30-r12.ebuild,v 1.3 2005/03/25 07:09:27 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/openmotif/openmotif-2.1.30-r12.ebuild,v 1.4 2005/03/25 07:27:22 lanius Exp $
# disable sandbox, needed for motif-config
SANDBOX_DISABLED="1"
@@ -168,7 +168,7 @@ src_install() {
# Profile stuff
pkg_setup() {
- if has_version =x11-libs/openmotif-2.1*; then touch $T/upgrade; fi
+ if has_version =x11-libs/openmotif-2.1*; then touch /tmp/openmotif-2.1; fi
}
pkg_postinst() {
@@ -176,5 +176,5 @@ pkg_postinst() {
}
pkg_prerm() {
- [ -f $T/upgrade ] || motif-config --uninstall openmotif-2.1
+ [ -f /tmp/openmotif-2.1 ] && rm -f /tmp/openmotif-2.1 || motif-config --uninstall openmotif-2.1
}
diff --git a/x11-libs/openmotif/openmotif-2.2.3-r6.ebuild b/x11-libs/openmotif/openmotif-2.2.3-r6.ebuild
index efe85690cf13..afef214a6c7a 100644
--- a/x11-libs/openmotif/openmotif-2.2.3-r6.ebuild
+++ b/x11-libs/openmotif/openmotif-2.2.3-r6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/openmotif/openmotif-2.2.3-r6.ebuild,v 1.3 2005/03/25 07:09:27 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/openmotif/openmotif-2.2.3-r6.ebuild,v 1.4 2005/03/25 07:27:22 lanius Exp $
# disable sandbox, needed for motif-config
SANDBOX_DISABLED="1"
@@ -35,7 +35,7 @@ pkg_setup() {
[ -n "${ABI}" ] && append-flags "-I/usr/include/gentoo-multilib/${ABI}"
# profile stuff
- if has_version =x11-libs/openmotif-2.2*; then touch $T/upgrade; fi
+ if has_version =x11-libs/openmotif-2.2*; then touch /tmp/openmotif-2.2; fi
}
src_unpack() {
@@ -146,5 +146,5 @@ pkg_postinst() {
}
pkg_prerm() {
- [ -f $T/upgrade ] || motif-config --uninstall openmotif-2.2
+ [ -f /tmp/openmotif-2.2 ] && rm -f /tmp/openmotif-2.2 || motif-config --uninstall openmotif-2.2
}