summaryrefslogtreecommitdiff
path: root/network/sickrage/sickrage.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/sickrage/sickrage.SlackBuild')
-rw-r--r--network/sickrage/sickrage.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/network/sickrage/sickrage.SlackBuild b/network/sickrage/sickrage.SlackBuild
index 9e4b1620de..e4f98ca1c0 100644
--- a/network/sickrage/sickrage.SlackBuild
+++ b/network/sickrage/sickrage.SlackBuild
@@ -25,7 +25,7 @@ PRGNAM=sickrage
SRCNAM=SickRage
VERSION=${VERSION:-2016.12.27_1}
SRCVER=$(echo $VERSION | tr _ -)
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -63,7 +63,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$SRCVER
-tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
+tar xvf $CWD/$SRCNAM-$SRCVER.tar.gz
cd $SRCNAM-$SRCVER
chown -R root:root .
find -L . \
@@ -85,9 +85,9 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/etc/rc.d/
install -m 0644 $CWD/rc.sickrage $PKG/etc/rc.d/rc.sickrage.new
install -m 0644 $CWD/sickrage.conf $PKG/etc/sickrage.conf.new
-install -dm 0755 --owner=sickrage $PKG/var/lib/sickrage/
-install -m 0644 --owner=sickrage $CWD/config.ini $PKG/var/lib/sickrage/config.ini.new
-install -dm 0755 --owner=sickrage $PKG/var/log/sickrage/
+install -dm 0755 --owner=$SICKUSER $PKG/var/lib/sickrage/
+install -m 0644 --owner=$SICKUSER $CWD/config.ini $PKG/var/lib/sickrage/config.ini.new
+install -dm 0755 --owner=$SICKUSER $PKG/var/log/sickrage/
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc