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 /net/vtun | |
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 'net/vtun')
-rw-r--r-- | net/vtun/DEINSTALL | 14 | ||||
-rw-r--r-- | net/vtun/INSTALL | 16 |
2 files changed, 2 insertions, 28 deletions
diff --git a/net/vtun/DEINSTALL b/net/vtun/DEINSTALL index 57b857a3fa3..26deee31cbe 100644 --- a/net/vtun/DEINSTALL +++ b/net/vtun/DEINSTALL @@ -1,12 +1,6 @@ #!/bin/sh # -# $NetBSD: DEINSTALL,v 1.3 2002/10/06 04:08:10 taca Exp $ - -CAT="@CAT@" -CMP="@CMP@" -RM="@RM@" -RMDIR="@RMDIR@" -TRUE="@TRUE@" +# $NetBSD: DEINSTALL,v 1.4 2003/08/30 20:23:00 jlam Exp $ CONFDIR="@PKG_SYSCONFDIR@" SAMPLECONFDIR=${PKG_PREFIX}/share/examples/vtun @@ -88,10 +82,4 @@ EOF EOF fi ;; - -*) - echo "Unexpected argument: ${STAGE}" - exit 1 - ;; esac -exit 0 diff --git a/net/vtun/INSTALL b/net/vtun/INSTALL index 73833df38e3..fbdf95986b4 100644 --- a/net/vtun/INSTALL +++ b/net/vtun/INSTALL @@ -1,11 +1,6 @@ #!/bin/sh # -# $NetBSD: INSTALL,v 1.3 2002/10/06 04:08:11 taca Exp $ - -CAT="@CAT@" -CHMOD="@CHMOD@" -CP="@CP@" -MKDIR="@MKDIR@" +# $NetBSD: INSTALL,v 1.4 2003/08/30 20:23:00 jlam Exp $ CONFDIR="@PKG_SYSCONFDIR@" SAMPLECONFDIR=${PKG_PREFIX}/share/examples/vtun @@ -14,9 +9,6 @@ LOCKDIR=/var/lock/vtund LOGDIR=/var/log/vtund case ${STAGE} in -PRE-INSTALL) - ;; - POST-INSTALL) ${MKDIR} ${LOCKDIR} ${MKDIR} ${LOGDIR} @@ -50,10 +42,4 @@ EOF =========================================================================== EOF ;; - -*) - echo "Unexpected argument: ${STAGE}" - exit 1 - ;; esac -exit 0 |