summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-30 10:27:27 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-30 20:01:06 -0500
commit2f7f4b0c96f930d18359bf86516bdecea73a1b76 (patch)
tree9c5b216bb460e2058c48fec973c5742324e80c5a
parent9760463c424c7b3b7b48d728a48b45dd218e67a5 (diff)
downloadslackbuilds-2f7f4b0c96f930d18359bf86516bdecea73a1b76.tar.gz
network/csync: Fixed (Install doinst.sh, use .new for config func)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r--network/csync/csync.SlackBuild3
-rw-r--r--network/csync/doinst.sh7
2 files changed, 6 insertions, 4 deletions
diff --git a/network/csync/csync.SlackBuild b/network/csync/csync.SlackBuild
index e26ded724b..48a4257b6f 100644
--- a/network/csync/csync.SlackBuild
+++ b/network/csync/csync.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=csync
VERSION=0.44.0
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -100,6 +100,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/csync/doinst.sh b/network/csync/doinst.sh
index c9db1e8558..4c8b725660 100644
--- a/network/csync/doinst.sh
+++ b/network/csync/doinst.sh
@@ -11,7 +11,8 @@ config() {
# Otherwise, we leave the .new copy for the admin to consider...
}
-config etc/csync/csync_exclude.conf
-config etc/csync/csync.conf
-config etc/csync/csync_log.conf
+config etc/csync/csync_exclude.conf.new
+config etc/csync/csync.conf.new
+config etc/csync/csync_log.conf.new
+