summaryrefslogtreecommitdiff
path: root/office
diff options
context:
space:
mode:
Diffstat (limited to 'office')
-rw-r--r--office/wps-office/wps-office.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/office/wps-office/wps-office.SlackBuild b/office/wps-office/wps-office.SlackBuild
index 31c3e21374..16221a6f51 100644
--- a/office/wps-office/wps-office.SlackBuild
+++ b/office/wps-office/wps-office.SlackBuild
@@ -51,8 +51,8 @@ DESTDIR=$PKG/opt/kingsoft
mkdir -p $DESTDIR/$PRGNAM
cd $TMP
tar xJvf $CWD/$PRGNAM$SRCVER.tar.xz
-chown -R root:root .
-find -L . \
+chown -R root:root $PRGNAM$SRCVER
+find -L $PRGNAM$SRCVER \
\( -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 \