aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2007-02-12 04:03:19 +0000
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2007-02-12 04:03:19 +0000
commitfd6c46d9845955ece06719ce1752e087154c6d18 (patch)
tree08c8669ea27b81ec09935cb6565ed4b368582795 /app
parentc5a7b871de665027958a60f8ebf5c27a413d7e83 (diff)
downloadslackbuilds-fd6c46d9845955ece06719ce1752e087154c6d18.tar.gz
slackbuilds-fd6c46d9845955ece06719ce1752e087154c6d18.tar.bz2
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
Diffstat (limited to 'app')
-rwxr-xr-xapp/backup/backupninja/backupninja.SlackBuild6
1 files changed, 4 insertions, 2 deletions
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