diff options
author | Kees Theunissen <theuniss@rijnh.nl> | 2012-12-19 22:34:22 +0100 |
---|---|---|
committer | Matteo Bernardini <ponce@slackbuilds.org> | 2012-12-19 22:34:39 +0100 |
commit | 86266d2fc04f34fd42598ddf6604d9f6bc2c98d1 (patch) | |
tree | d4930281eb0db088152575011ee272c2985cea94 /system/clamav | |
parent | a5726d3acf4783662226c311a3fa7b63e6ef1ae1 (diff) |
system/clamav: Fix docs folders permissions.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/clamav')
-rw-r--r-- | system/clamav/clamav.SlackBuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/system/clamav/clamav.SlackBuild b/system/clamav/clamav.SlackBuild index 3ad71234c1518..4f098db9d08e7 100644 --- a/system/clamav/clamav.SlackBuild +++ b/system/clamav/clamav.SlackBuild @@ -28,7 +28,7 @@ PRGNAM=clamav VERSION=${VERSION:-0.97.6} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -182,7 +182,8 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ AUTHORS BUGS COPYING ChangeLog FAQ INSTALL NEWS README UPGRADE \ docs/*.pdf docs/html examples $PKG/usr/doc/$PRGNAM-$VERSION -chmod 0644 $PKG/usr/doc/$PRGNAM-$VERSION/* +chmod -R 0644 $PKG/usr/doc/$PRGNAM-$VERSION +find $PKG/usr/doc/$PRGNAM-$VERSION -type d -exec chmod 0755 {} \; cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE |