From 9a8bede8ab6b882b0e53eb3dc7abb6f93dcebf34 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sun, 15 May 2016 11:53:11 +0700 Subject: development/darcs: Fix perms. Signed-off-by: Willy Sudiarto Raharjo --- development/darcs/darcs.SlackBuild | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'development/darcs') diff --git a/development/darcs/darcs.SlackBuild b/development/darcs/darcs.SlackBuild index f58f868eeb..68e01b78cb 100644 --- a/development/darcs/darcs.SlackBuild +++ b/development/darcs/darcs.SlackBuild @@ -66,10 +66,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -99,6 +99,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr # manual is missplaced, and Cabal does not support --mandir mv $PKG/usr/share/man $PKG/usr/man rmdir $PKG/usr/share +chmod 644 $PKG/usr/man/man1/* find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -- cgit v1.2.3