summaryrefslogtreecommitdiff
path: root/security/openssh+gssapi
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2003-08-30 20:22:49 +0000
committerjlam <jlam@pkgsrc.org>2003-08-30 20:22:49 +0000
commit2920a32c71bae3a6a02b2c5c0576d9a60b9a0594 (patch)
treed334e2fd95050def4488e848ea48612e6f9103a4 /security/openssh+gssapi
parent2ebf5a7dc8b33d5f29466890b65a69e886f19281 (diff)
downloadpkgsrc-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+gssapi')
-rw-r--r--security/openssh+gssapi/INSTALL32
1 files changed, 16 insertions, 16 deletions
diff --git a/security/openssh+gssapi/INSTALL b/security/openssh+gssapi/INSTALL
index f930e443924..d6becd802c0 100644
--- a/security/openssh+gssapi/INSTALL
+++ b/security/openssh+gssapi/INSTALL
@@ -1,18 +1,16 @@
-# $NetBSD: INSTALL,v 1.1.1.1 2003/07/24 21:01:23 jwise Exp $
+# $NetBSD: INSTALL,v 1.2 2003/08/30 20:23:07 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