From 00f8117f4d1502c6866963815903dc9afa84559f Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Mon, 11 Jan 2016 19:11:37 +0700 Subject: network/teamviewer: Script cleanup. Signed-off-by: Willy Sudiarto Raharjo --- network/teamviewer/teamviewer.SlackBuild | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'network/teamviewer/teamviewer.SlackBuild') 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 -# Copyright 2013-2015 Willy Sudiarto Raharjo +# Copyright 2013-2016 Willy Sudiarto Raharjo # 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 -- cgit v1.2.3