summaryrefslogtreecommitdiff
path: root/security/openssh/INSTALL
diff options
context:
space:
mode:
Diffstat (limited to 'security/openssh/INSTALL')
-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