From 0d571da43f06f73a7757f88da437e2cc1c6f59fd Mon Sep 17 00:00:00 2001 From: brad Date: Sun, 29 Dec 2002 21:22:13 +0000 Subject: [PATCH] better --- net/silc-server/pkg/DEINSTALL | 3 +-- net/silc-server/pkg/INSTALL | 8 +++----- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/net/silc-server/pkg/DEINSTALL b/net/silc-server/pkg/DEINSTALL index b8f8a41be0d..38b70fb5c66 100644 --- a/net/silc-server/pkg/DEINSTALL +++ b/net/silc-server/pkg/DEINSTALL @@ -1,9 +1,8 @@ #!/bin/sh -# $OpenBSD: DEINSTALL,v 1.1.1.1 2002/12/16 03:40:02 brad Exp $ +# $OpenBSD: DEINSTALL,v 1.2 2002/12/29 21:22:13 brad Exp $ # # silc-server de-installation -set -e PATH=/bin:/usr/bin:/sbin:/usr/sbin PREFIX=${PKG_PREFIX:-/usr/local} CONFIG_DIR=${SYSCONFDIR}/silcd diff --git a/net/silc-server/pkg/INSTALL b/net/silc-server/pkg/INSTALL index a60f49ac09f..2df3ab1590f 100644 --- a/net/silc-server/pkg/INSTALL +++ b/net/silc-server/pkg/INSTALL @@ -1,5 +1,5 @@ #!/bin/sh -# $OpenBSD: INSTALL,v 1.1.1.1 2002/12/16 03:40:02 brad Exp $ +# $OpenBSD: INSTALL,v 1.2 2002/12/29 21:22:13 brad Exp $ # # Pre/post-installation setup of silc-server @@ -46,10 +46,8 @@ do_install() { install -d -o silcd -g silcd -m 700 $CONFIG_DIR install -d -o silcd -g silcd -m 700 $LOG_DIR - cp $SAMPLE_CONFIG_DIR/silcd.conf $CONFIG_DIR/silcd.conf - cp $SAMPLE_CONFIG_DIR/silcalgs.conf $CONFIG_DIR/silcalgs.conf - chown -R silcd:silcd $CONFIG_DIR - chmod 600 $CONFIG_DIR/*.conf + install -o silcd -g silcd -m 600 $SAMPLE_CONFIG_DIR/silcd.conf $CONFIG_DIR/silcd.conf + install -o silcd -g silcd -m 600 $SAMPLE_CONFIG_DIR/silcalgs.conf $CONFIG_DIR/silcalgs.conf echo echo "+---------------" echo "|"