summaryrefslogtreecommitdiff
path: root/audio/grip2/grip2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/grip2/grip2.SlackBuild')
-rw-r--r--audio/grip2/grip2.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/audio/grip2/grip2.SlackBuild b/audio/grip2/grip2.SlackBuild
index 187ddf24d6..aee00db42c 100644
--- a/audio/grip2/grip2.SlackBuild
+++ b/audio/grip2/grip2.SlackBuild
@@ -42,7 +42,11 @@ rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tgz
cd $SRCNAM-$VERSION
chown -R root:root .
-chmod -R a-s,u+w,go+r-w .
+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 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Slack 12.2 and up keeps cdda headers in /usr/include/cdda, 12.1 has them
# in /usr/include itself. Be adaptable.