diff options
author | jlam <jlam@pkgsrc.org> | 2003-08-30 20:22:49 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2003-08-30 20:22:49 +0000 |
commit | 2920a32c71bae3a6a02b2c5c0576d9a60b9a0594 (patch) | |
tree | d334e2fd95050def4488e848ea48612e6f9103a4 /x11/lesstif/DEINSTALL | |
parent | 2ebf5a7dc8b33d5f29466890b65a69e886f19281 (diff) | |
download | pkgsrc-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/lesstif/DEINSTALL')
-rw-r--r-- | x11/lesstif/DEINSTALL | 10 |
1 files changed, 1 insertions, 9 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 |