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 | c5f0321718c1b51acf6c873f20f874a333e41399 (patch) | |
tree | d334e2fd95050def4488e848ea48612e6f9103a4 /security/openssh | |
parent | ffb634dba4f8cf98d9303350c69feff299423c86 (diff) | |
download | pkgsrc-c5f0321718c1b51acf6c873f20f874a333e41399.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 'security/openssh')
-rw-r--r-- | security/openssh/INSTALL | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/security/openssh/INSTALL b/security/openssh/INSTALL index 626a921fa18..8b8d1d310e2 100644 --- a/security/openssh/INSTALL +++ b/security/openssh/INSTALL @@ -1,18 +1,16 @@ -# $NetBSD: INSTALL,v 1.9 2003/03/28 21:24:25 wiz Exp $ +# $NetBSD: INSTALL,v 1.10 2003/08/30 20:23:06 jlam Exp $ DIRS="/etc /etc/ssh ${PKG_PREFIX}/etc ${PKG_PREFIX}/etc/ssh" FILES="sshd.conf sshd_config" -if [ "${STAGE}" != "POST-INSTALL" ]; then - exit 0 -fi - -for dir in $DIRS; do - if [ "@PKG_SYSCONFDIR@" != "$dir" ]; then - for file in $FILES; do - path=$dir/$file - if [ -f $path ]; then - ${CAT} <<EOF +case ${STAGE} in +POST-INSTALL) + for dir in $DIRS; do + if [ "@PKG_SYSCONFDIR@" != "$dir" ]; then + for file in $FILES; do + path=$dir/$file + if [ -f $path ]; then + ${CAT} <<EOF =========================================================================== *===* NOTICE *===* @@ -29,8 +27,10 @@ placed in the correct directory before using ${PKGNAME}. =========================================================================== EOF - exit - fi - done - fi -done + exit + fi + done + fi + done + ;; +esac |