summaryrefslogtreecommitdiff
path: root/x11/openmotif
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2003-08-30 20:22:49 +0000
committerjlam <jlam@pkgsrc.org>2003-08-30 20:22:49 +0000
commit2920a32c71bae3a6a02b2c5c0576d9a60b9a0594 (patch)
treed334e2fd95050def4488e848ea48612e6f9103a4 /x11/openmotif
parent2ebf5a7dc8b33d5f29466890b65a69e886f19281 (diff)
downloadpkgsrc-2920a32c71bae3a6a02b2c5c0576d9a60b9a0594.tar.gz
Prepare for pkgviews by making sure that passing VIEW-INSTALL or
VIEW-DEINSTALL to the INSTALL/DEINSTALL scripts don't cause errors.
Diffstat (limited to 'x11/openmotif')
-rw-r--r--x11/openmotif/DEINSTALL10
-rw-r--r--x11/openmotif/INSTALL10
2 files changed, 2 insertions, 18 deletions
diff --git a/x11/openmotif/DEINSTALL b/x11/openmotif/DEINSTALL
index eede819f09f..581235a003e 100644
--- a/x11/openmotif/DEINSTALL
+++ b/x11/openmotif/DEINSTALL
@@ -1,4 +1,4 @@
-# $NetBSD: DEINSTALL,v 1.3 2003/05/19 19:43:16 jschauma Exp $
+# $NetBSD: DEINSTALL,v 1.4 2003/08/30 20:23:08 jlam Exp $
X11BASE=@X11BASE@
MOTIF_RULES=${PKG_PREFIX}/lib/X11/config/Motif.rules
@@ -7,9 +7,6 @@ X11_HOSTDEF=${X11BASE}/lib/X11/config/host.def
HOSTDEF=${PKG_PREFIX}/lib/X11/config/host.def
case ${STAGE} in
-DEINSTALL)
- ;;
-
POST-DEINSTALL)
${ECHO} -n "Updating ${HOSTDEF}..."
${CP} -f ${HOSTDEF} ${HOSTDEF}.bak
@@ -32,9 +29,4 @@ POST-DEINSTALL)
${RMDIR} -p ${PKG_PREFIX}/lib/X11/config 2>/dev/null || ${TRUE}
;;
-
-*)
- ${ECHO} "Unexpected argument: ${STAGE}"
- exit 1
- ;;
esac
diff --git a/x11/openmotif/INSTALL b/x11/openmotif/INSTALL
index 8aed73c210f..8b580cef0a0 100644
--- a/x11/openmotif/INSTALL
+++ b/x11/openmotif/INSTALL
@@ -1,4 +1,4 @@
-# $NetBSD: INSTALL,v 1.4 2003/05/19 19:43:17 jschauma Exp $
+# $NetBSD: INSTALL,v 1.5 2003/08/30 20:23:08 jlam Exp $
X11BASE=@X11BASE@
MOTIF_RULES=${PKG_PREFIX}/lib/X11/config/Motif.rules
@@ -7,9 +7,6 @@ X11_HOSTDEF=${X11BASE}/lib/X11/config/host.def
HOSTDEF=${PKG_PREFIX}/lib/X11/config/host.def
case ${STAGE} in
-PRE-INSTALL)
- ;;
-
POST-INSTALL)
if [ ${PKG_PREFIX} = ${X11BASE} ]
then
@@ -38,9 +35,4 @@ POST-INSTALL)
${RM} -f ${HOSTDEF}.bak
${ECHO} "done."
;;
-
-*)
- ${ECHO} "Unexpected argument: ${STAGE}"
- exit 1
- ;;
esac