aboutsummaryrefslogtreecommitdiff
path: root/office
diff options
context:
space:
mode:
authorLukenShiro <lukenshiro@ngi.it>2013-11-11 09:13:05 -0600
committerRobby Workman <rworkman@slackbuilds.org>2013-11-11 10:53:36 -0600
commit8a720b7565ebb622a1c75889a9266eb31f3f1305 (patch)
treedee479bddefca7ee732eac31503e5e512e5d34a5 /office
parent192892025092432f653c2c3c8f8ccbadc381d7ee (diff)
various: fixes for new templates (find/fixperms)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'office')
-rw-r--r--office/flowkeeper/flowkeeper.SlackBuild8
-rw-r--r--office/htmldoc/htmldoc.SlackBuild8
2 files changed, 8 insertions, 8 deletions
diff --git a/office/flowkeeper/flowkeeper.SlackBuild b/office/flowkeeper/flowkeeper.SlackBuild
index e4f413c1f0139..447ea7eddbe31 100644
--- a/office/flowkeeper/flowkeeper.SlackBuild
+++ b/office/flowkeeper/flowkeeper.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=flowkeeper
VERSION=${VERSION:-2010.12}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
ARCH=noarch
@@ -42,11 +42,11 @@ rm -rf $PRGNAM-$VERSION
mkdir $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
-find . \
+find -L . \
\( -perm 777 -o -perm 775 -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 {} \;
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Jar file
mkdir -p $PKG/usr/share/$PRGNAM
diff --git a/office/htmldoc/htmldoc.SlackBuild b/office/htmldoc/htmldoc.SlackBuild
index 42ba6aed6b525..432d19fc8fdca 100644
--- a/office/htmldoc/htmldoc.SlackBuild
+++ b/office/htmldoc/htmldoc.SlackBuild
@@ -27,7 +27,7 @@
PRGNAM=htmldoc
VERSION=1.8.27
-BUILD=${BUILD:-4}
+BUILD=${BUILD:-5}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -68,11 +68,11 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION-source.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
-find . \
+find -L . \
\( -perm 777 -o -perm 775 -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 {} \;
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# workaround to avoid /usr/share/doc/htmldoc's use for help function
sed -i 's|^#define DOCUMENTATION "$prefix/share/doc/htmldoc"|\