summaryrefslogtreecommitdiff
path: root/libraries/libslack
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-08-22 16:37:29 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-08-25 12:11:30 +0700
commitc49e1df3924ea651cef3c7f873273c3364a399d2 (patch)
tree9a90d8e784963246a59e11100970e204f9756c1b /libraries/libslack
parent2c7c88184c4dda9e7c563ae66f05710214531e68 (diff)
downloadslackbuilds-c49e1df3924ea651cef3c7f873273c3364a399d2.tar.gz
libraries/libslack: Fix file permissions.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libslack')
-rw-r--r--libraries/libslack/libslack.SlackBuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/libraries/libslack/libslack.SlackBuild b/libraries/libslack/libslack.SlackBuild
index 76ce320c33..9671707d8f 100644
--- a/libraries/libslack/libslack.SlackBuild
+++ b/libraries/libslack/libslack.SlackBuild
@@ -72,6 +72,14 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
tar xvf $CWD/$PRGNAM-$VERSION-html.tar.gz
+cd $PRGNAM-$VERSION-html
+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 {} \;
+cd ..
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \