diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2016-01-19 00:35:22 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-20 02:27:21 +0700 |
commit | cefc5100edfdcf41a384d611e778453a2a1786b2 (patch) | |
tree | 3157fa72e0baafcb89ac2c279d16a2fa62ab1331 /office | |
parent | bc0236136dcf5b0c37d55b1d1a76ce13d751ebe8 (diff) |
office/MasterPDFEditor: Fixed file ownership.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'office')
-rw-r--r-- | office/MasterPDFEditor/MasterPDFEditor.SlackBuild | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/office/MasterPDFEditor/MasterPDFEditor.SlackBuild b/office/MasterPDFEditor/MasterPDFEditor.SlackBuild index 82f341d3fe834..8f76868ceeae1 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 |