From fd6c46d9845955ece06719ce1752e087154c6d18 Mon Sep 17 00:00:00 2001 From: rhatto Date: Mon, 12 Feb 2007 04:03:19 +0000 Subject: backupninja: permission fix on /etc/backup.d and general ownership fix git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1018 370017ae-e619-0410-ac65-c121f96126d4 --- app/backup/backupninja/backupninja.SlackBuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'app') diff --git a/app/backup/backupninja/backupninja.SlackBuild b/app/backup/backupninja/backupninja.SlackBuild index 69b0189f..39285412 100755 --- a/app/backup/backupninja/backupninja.SlackBuild +++ b/app/backup/backupninja/backupninja.SlackBuild @@ -16,7 +16,7 @@ fi PACKAGE="backupninja" ARCH="noarch" VERSION=${VERSION:=0.9.4} -BUILD=${BUILD:=5rha} +BUILD=${BUILD:=6rha} SRC_DIR=${SRC:=$CWD} TMP=${TMP:=/tmp} REPOS=${REPOS:=$TMP} @@ -78,6 +78,8 @@ CWD="`pwd`" cd $TMP/package-$PACKAGE mkdir etc/backup.d +chown -R root.root * +chmod 600 etc/backup.d mv etc/backupninja.conf etc/backupninja.conf.new @@ -114,7 +116,7 @@ done # install script echo '( if [ ! -f "etc/backupninja.conf" ]; then mv etc/backupninja.conf.new etc/backupninja.conf; fi )' > install/doinst.sh -makepkg -c y -l y $REPOS/$PACKAGE-$VERSION-$ARCH-$BUILD.tgz || exit $ERROR_MKPKG +makepkg -l y $REPOS/$PACKAGE-$VERSION-$ARCH-$BUILD.tgz || exit $ERROR_MKPKG if [ "$CLEANUP" == "yes" ]; then rm -rf $TMP -- cgit v1.2.3