system/clamav: Fix docs folders permissions.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Kees Theunissen 2012-12-19 22:34:22 +01:00 committed by Matteo Bernardini
parent a5726d3acf
commit 86266d2fc0

View file

@ -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