From 86266d2fc04f34fd42598ddf6604d9f6bc2c98d1 Mon Sep 17 00:00:00 2001 From: Kees Theunissen Date: Wed, 19 Dec 2012 22:34:22 +0100 Subject: system/clamav: Fix docs folders permissions. Signed-off-by: Matteo Bernardini --- system/clamav/clamav.SlackBuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'system/clamav/clamav.SlackBuild') diff --git a/system/clamav/clamav.SlackBuild b/system/clamav/clamav.SlackBuild index 3ad71234c1..4f098db9d0 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 -- cgit v1.2.3