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 /security/openssh | |
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 '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 |