summaryrefslogtreecommitdiff
path: root/network/teamviewer
diff options
context:
space:
mode:
Diffstat (limited to 'network/teamviewer')
-rw-r--r--network/teamviewer/teamviewer.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/network/teamviewer/teamviewer.SlackBuild b/network/teamviewer/teamviewer.SlackBuild
index c5dff92943..2aedab9446 100644
--- a/network/teamviewer/teamviewer.SlackBuild
+++ b/network/teamviewer/teamviewer.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for teamviewer
# Copyright 2010-2012 Binh Nguyen <binhvng@gmail.com>
-# Copyright 2013-2015 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2013-2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
PRGNAM=teamviewer
VERSION=${VERSION:-11.0.53191}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -80,7 +80,7 @@ cat $PKG/opt/teamviewer/tv_bin/desktop/teamviewer-teamviewer11.desktop \
> $PKG/usr/share/applications/teamviewer.desktop
# Remove the dangling symlink first
-rm $PKG/usr/bin/teamviewer
+rm -f $PKG/usr/bin/teamviewer
# Re-create the generic executable
( cd $PKG/usr/bin; ln -s /opt/teamviewer/tv_bin/script/teamviewer teamviewer )
@@ -101,7 +101,7 @@ install -m 0644 $CWD/rc.teamviewerd $PKG/etc/rc.d/rc.teamviewerd.new
# Let's flip-flop the actual locations vs. symlinks of a couple of things:
# First remove the dangling symlink made by Debian packages:
-rm -rf $PKG/var/log/teamviewer $PKG/etc/teamviewer
+rm -rf $PKG/var/log/teamviewer* $PKG/etc/teamviewer
mkdir -p $PKG/var/log/teamviewer11 $PKG/etc/teamviewer
rm -rf $PKG/opt/teamviewer/logfiles/ $PKG/opt/teamviewer/config/
ln -s /etc/teamviewer $PKG/opt/teamviewer/config