summaryrefslogtreecommitdiff
path: root/security/openssh
diff options
context:
space:
mode:
authorjlam <jlam>2003-08-30 20:22:49 +0000
committerjlam <jlam>2003-08-30 20:22:49 +0000
commit20b85a151292d1c2495d2fba787ca26293c7a9e2 (patch)
treed334e2fd95050def4488e848ea48612e6f9103a4 /security/openssh
parent1c9f4e0bdcaa144f30d977697cd5fdfe70963ce1 (diff)
downloadpkgsrc-20b85a151292d1c2495d2fba787ca26293c7a9e2.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/INSTALL32
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