diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-09-02 01:23:45 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-09-02 01:23:45 +0700 |
commit | a47807f4b184879a7107c8ad03c214994730cb89 (patch) | |
tree | ede28d381d8de807179824ab67d0b7b7132899a5 /office | |
parent | 26babedd249ca37660356ee64f7ffca563d4d94c (diff) | |
download | slackbuilds-a47807f4b184879a7107c8ad03c214994730cb89.tar.gz |
office/MasterPDFEditor: Fix build.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office')
-rw-r--r-- | office/MasterPDFEditor/MasterPDFEditor.SlackBuild | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/office/MasterPDFEditor/MasterPDFEditor.SlackBuild b/office/MasterPDFEditor/MasterPDFEditor.SlackBuild index db3a49b1b9..8e0a696434 100644 --- a/office/MasterPDFEditor/MasterPDFEditor.SlackBuild +++ b/office/MasterPDFEditor/MasterPDFEditor.SlackBuild @@ -65,17 +65,16 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT $PKG/opt cd $TMP rm -rf $SRCNAM-$MAJVER -mkdir -p $SRCNAM-$MAJVER -cd $SRCNAM-$MAJVER tar xvf $CWD/${SRCNAM}-${VERSION}${SOURCEARCH}.tar.gz -cd .. -chown -R root:root $SRCNAM-$MAJVER -find -L $SRCNAM-$MAJVER \ +cd $SRCNAM-$MAJVER +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 {} \; +cd .. mv $SRCNAM-$MAJVER $PKG/opt cd $PKG/opt/$SRCNAM-$MAJVER |