From 334d8c2748daf01c224dbef3233c6f4293806f59 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Wed, 20 Feb 2013 12:57:59 +0700 Subject: network/teamviewer: Remove dangling symlink first Signed-off-by: Robby Workman --- network/teamviewer/teamviewer.SlackBuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/network/teamviewer/teamviewer.SlackBuild b/network/teamviewer/teamviewer.SlackBuild index ac4273c99f7d..ce2b938bd43e 100644 --- a/network/teamviewer/teamviewer.SlackBuild +++ b/network/teamviewer/teamviewer.SlackBuild @@ -112,7 +112,9 @@ install -m 0644 $CWD/rc.teamviewerd $PKG/etc/rc.d/rc.teamviewerd.new rm -f $PKG/opt/teamviewer8/tv_bin/xdg-utils/xdg-email~ # Let's flip-flop the actual locations vs. symlinks of a couple of things: -mkdir -p $PKG/var/log/teamviewer/ $PKG/etc/teamviewer +# First remove the dangling symlink made by Debian packages: +rm -f $PKG/var/log/teamviewer $PKG/etc/teamviewer +mkdir -p $PKG/var/log/teamviewer $PKG/etc/teamviewer rm -rf $PKG/opt/teamviewer8/logfiles/ $PKG/opt/teamviewer8/config/ ln -s /var/log/teamviewer $PKG/opt/teamviewer8/logfiles ln -s /etc/teamviewer $PKG/opt/teamviewer8/config -- cgit v1.2.3