summaryrefslogtreecommitdiffstats
path: root/multimedia/vkeybd/vkeybd.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/vkeybd/vkeybd.SlackBuild')
-rw-r--r--multimedia/vkeybd/vkeybd.SlackBuild7
1 files changed, 2 insertions, 5 deletions
diff --git a/multimedia/vkeybd/vkeybd.SlackBuild b/multimedia/vkeybd/vkeybd.SlackBuild
index 663056859c..6f1df6e494 100644
--- a/multimedia/vkeybd/vkeybd.SlackBuild
+++ b/multimedia/vkeybd/vkeybd.SlackBuild
@@ -55,11 +55,8 @@ rm -rf $PRGNAM
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM
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 {} \+
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
# make .desktop file validate
sed -i -e '/^Encoding/d' -e '/^Cat/s,Application;,,' $PRGNAM.desktop