diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-05-26 07:44:48 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-05-31 10:36:16 +0700 |
commit | 5a9735ce4699ed3a80d7422da0b01d91c4b6779e (patch) | |
tree | ae2c011c4d63f84619e4b18870c57653fa513fb2 /system/ZoneMinder/ZoneMinder.SlackBuild | |
parent | b5506779e5561e3c93950ca8f3c185364e7e77f6 (diff) |
system/ZoneMinder: Remove duplicate actions + fix permission.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/ZoneMinder/ZoneMinder.SlackBuild')
-rw-r--r-- | system/ZoneMinder/ZoneMinder.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/system/ZoneMinder/ZoneMinder.SlackBuild b/system/ZoneMinder/ZoneMinder.SlackBuild index 4c9acc1aad48c..b659efa58370a 100644 --- a/system/ZoneMinder/ZoneMinder.SlackBuild +++ b/system/ZoneMinder/ZoneMinder.SlackBuild @@ -148,13 +148,17 @@ cp -Rp jscalendar-$JSCALENDAR_VERSION/* $PKG$DOCROOT/tools/jscalendar mkdir -p $PKG/usr/share/$PRGNAM/db cp -a db/zm_create.sql db/zm_update-*.sql $PKG/usr/share/$PRGNAM/db +# Fix permissions +mkdir -p $PKG/tmp +chmod 777 $PKG/tmp +chmod +t $PKG/tmp + # Copy documentation mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS ChangeLog INSTALL NEWS TODO $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE - mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh |