aboutsummaryrefslogtreecommitdiffstats
path: root/net/silc-client/pkg-install
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2007-01-19 00:26:34 +0800
committerrafan <rafan@FreeBSD.org>2007-01-19 00:26:34 +0800
commitb876b49e31f031f29591c2413bfebd390013c803 (patch)
tree40a2d7614fda2599cda39d923556be33655709f2 /net/silc-client/pkg-install
parentb201bb2b63f0448a3e41dd58c6428a31e8f6666d (diff)
downloadfreebsd-ports-gnome-b876b49e31f031f29591c2413bfebd390013c803.tar.gz
freebsd-ports-gnome-b876b49e31f031f29591c2413bfebd390013c803.tar.zst
freebsd-ports-gnome-b876b49e31f031f29591c2413bfebd390013c803.zip
- Update to 1.0.3
PR: ports/108075 Submitted by: Evgueni V. Gavrilov <aquatique-ports at rambler.ru> (maintainer)
Diffstat (limited to 'net/silc-client/pkg-install')
-rw-r--r--net/silc-client/pkg-install6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/silc-client/pkg-install b/net/silc-client/pkg-install
index 554154b67b2e..3ee0226a61f4 100644
--- a/net/silc-client/pkg-install
+++ b/net/silc-client/pkg-install
@@ -9,6 +9,8 @@ PKGNAME=$1
ACTION=$2
CONF_DIR=${PKG_PREFIX}/etc/silc
+DOC_DIR=${PKG_PREFIX}/share/doc/silc
+#/example_silc.conf
CONF_FILE=silc.conf
CONF_OWN=root
@@ -32,13 +34,13 @@ POST-INSTALL)
echo "$PKGNAME: Will not overwrite existing ${CONF_DIR}/${CONF_FILE} configuration file."
else
${INSTALL} -c -o ${CONF_OWN} -g ${CONF_GRP} -m ${CONF_MODE} \
- ${CONF_DIR}/${CONF_FILE}${SAMP_SUFX} \
+ ${DOC_DIR}/example_silc.conf \
${CONF_DIR}/${CONF_FILE}
fi
;;
DEINSTALL)
- if ${CMP} -s ${CONF_DIR}/${CONF_FILE}${SAMP_SUFX} \
+ if ${CMP} -s ${DOC_DIR}/example_silc.conf \
${CONF_DIR}/${CONF_FILE}; then
${RM} -f ${CONF_DIR}/${CONF_FILE}
else