summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--office/MasterPDFEditor/MasterPDFEditor.SlackBuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/office/MasterPDFEditor/MasterPDFEditor.SlackBuild b/office/MasterPDFEditor/MasterPDFEditor.SlackBuild
index 82f341d3fe..8f76868cee 100644
--- a/office/MasterPDFEditor/MasterPDFEditor.SlackBuild
+++ b/office/MasterPDFEditor/MasterPDFEditor.SlackBuild
@@ -65,6 +65,13 @@ mkdir -p $TMP $PKG $OUTPUT $PKG/opt
cd $TMP
rm -rf $SRCNAM-3
tar xvf $CWD/${SRCNAM}-${VERSION}_${SOURCEARCH}.tar.gz
+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 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
mv $SRCNAM-3 $PKG/opt
cd $PKG/opt/$SRCNAM-3