summaryrefslogtreecommitdiff
path: root/network/insync/insync.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/insync/insync.SlackBuild')
-rw-r--r--network/insync/insync.SlackBuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/network/insync/insync.SlackBuild b/network/insync/insync.SlackBuild
index da1f7f1227..a9033a7264 100644
--- a/network/insync/insync.SlackBuild
+++ b/network/insync/insync.SlackBuild
@@ -28,7 +28,7 @@
PRGNAM=insync
DEBNAM=wheezy
VERSION=${VERSION:-1.1.3.32034}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -65,7 +65,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $PKG
ar p $CWD/${PRGNAM}_${VERSION}-${DEBNAM}_$DEBARCH.deb data.tar.gz | tar xzv
chown -R root:root .
-find . \
+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 \
@@ -75,8 +75,7 @@ chmod 0755 $PKG
if [ "$ARCH" = "x86_64" ]; then
mv $PKG/usr/lib $PKG/usr/lib${LIBDIRSUFFIX}
- sed -i 's/lib/lib64/'\
- $PKG/usr/bin/{insync,insync-headless}
+ sed -i 's/lib/lib64/' $PKG/usr/bin/{insync,insync-headless}
fi
mv $PKG/usr/share/man $PKG/usr/