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 /net/netatalk/INSTALL | |
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 'net/netatalk/INSTALL')
-rw-r--r-- | net/netatalk/INSTALL | 28 |
1 files changed, 9 insertions, 19 deletions
diff --git a/net/netatalk/INSTALL b/net/netatalk/INSTALL index d8f2894ac17..f53e11a3020 100644 --- a/net/netatalk/INSTALL +++ b/net/netatalk/INSTALL @@ -1,35 +1,25 @@ -#!/bin/sh -# -# $NetBSD: INSTALL,v 1.4 2003/05/06 17:42:13 jmmv Exp $ +# $NetBSD: INSTALL,v 1.5 2003/08/30 20:22:59 jlam Exp $ case ${STAGE} in -PRE-INSTALL) - ;; POST-INSTALL) ETCDIR=@PKG_SYSCONFDIR@/netatalk - mkdir -p ${ETCDIR} + ${MKDIR} -p ${ETCDIR} - echo "Installing configuration files:" + ${ECHO} "Installing configuration files:" for file in \ AppleVolumes.default AppleVolumes.system afpd.conf \ atalkd.conf netatalk.conf papd.conf do - if [ -f ${ETCDIR}/${file} ] - then - echo " ${ETCDIR}/${file} already exists" + if [ -f ${ETCDIR}/${file} ]; then + ${ECHO} " ${ETCDIR}/${file} already exists" else - echo " ${ETCDIR}/${file}" - cp ${PKG_PREFIX}/share/examples/netatalk/${file} \ + ${ECHO} " ${ETCDIR}/${file}" + ${CP} ${PKG_PREFIX}/share/examples/netatalk/${file} \ ${ETCDIR}/${file} - chmod 644 ${ETCDIR}/${file} + ${CHMOD} 644 ${ETCDIR}/${file} fi done - echo "done." - ;; -*) - echo "Unexpected argument: ${STAGE}" - exit 1 + ${ECHO} "done." ;; esac -exit 0 |