diff options
Diffstat (limited to 'x11/lesstif')
-rw-r--r-- | x11/lesstif/DEINSTALL | 10 | ||||
-rw-r--r-- | x11/lesstif/INSTALL | 10 |
2 files changed, 2 insertions, 18 deletions
diff --git a/x11/lesstif/DEINSTALL b/x11/lesstif/DEINSTALL index bc6da8aeb0c..5b20beca0b2 100644 --- a/x11/lesstif/DEINSTALL +++ b/x11/lesstif/DEINSTALL @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: DEINSTALL,v 1.1 2001/10/31 22:11:11 zuntum Exp $ +# $NetBSD: DEINSTALL,v 1.2 2003/08/30 20:23:08 jlam Exp $ PKGNAME=$1 STAGE=$2 @@ -21,9 +21,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 @@ -45,10 +42,5 @@ POST-DEINSTALL) ${RMDIR} -p ${PKG_PREFIX}/lib/X11/config 2>/dev/null || ${TRUE} ;; - -*) - ${ECHO} "Unexpected argument: ${STAGE}" - exit 1 - ;; esac exit 0 diff --git a/x11/lesstif/INSTALL b/x11/lesstif/INSTALL index 3f1b416791e..61ab91ea8c6 100644 --- a/x11/lesstif/INSTALL +++ b/x11/lesstif/INSTALL @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: INSTALL,v 1.2 2003/05/06 17:43:10 jmmv Exp $ +# $NetBSD: INSTALL,v 1.3 2003/08/30 20:23:08 jlam Exp $ PKGNAME=$1 STAGE=$2 @@ -20,9 +20,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} -o -f ${HOSTDEF} ] then @@ -49,10 +46,5 @@ POST-INSTALL) ${LOCALBASE}/share/aclocal/ac_find_motif.m4 fi ;; - -*) - ${ECHO} "Unexpected argument: ${STAGE}" - exit 1 - ;; esac exit 0 |