Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / security / openssh / INSTALL
blob26ecba0c1d3e154df2a9ab7ae9d4f516fa230062
1 # $NetBSD: INSTALL,v 1.9 2003/03/28 21:24:25 wiz Exp $
3 DIRS="/etc /etc/ssh ${PKG_PREFIX}/etc ${PKG_PREFIX}/etc/ssh"
4 FILES="sshd.conf sshd_config"
6 case ${STAGE} in
7 POST-INSTALL)
8         for dir in $DIRS; do
9                 if [ "@PKG_SYSCONFDIR@" != "$dir" ]; then
10                         for file in $FILES; do
11                                 path=$dir/$file
12                                 if [ -f $path ]; then
13                                         ${CAT} <<EOF
14 ===========================================================================
16                            *===* NOTICE *===*
18 WARNING: previous configuration file $path found.
20 The config files for ${PKGNAME} must be located in:
22         @PKG_SYSCONFDIR@
24 You will need to ensure your configuration files and/or keys are
25 placed in the correct directory before using ${PKGNAME}.
27 ===========================================================================
28 EOF
30                                         exit
31                                 fi
32                         done
33                 fi
34         done
35         ;;
36 esac