summaryrefslogtreecommitdiff
path: root/network/teamviewer/teamviewer.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-11 19:11:37 +0700
committerRobby Workman <rworkman@slackbuilds.org>2016-01-12 21:58:11 -0600
commit00f8117f4d1502c6866963815903dc9afa84559f (patch)
tree8df148a9d4f1c6d4353203df109eb5822973ffe7 /network/teamviewer/teamviewer.SlackBuild
parent298a833bada2558bc68821f42842ba876328adb7 (diff)
downloadslackbuilds-00f8117f4d1502c6866963815903dc9afa84559f.tar.gz
network/teamviewer: Script cleanup.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/teamviewer/teamviewer.SlackBuild')
-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