summaryrefslogtreecommitdiff
path: root/network/teamviewer
diff options
context:
space:
mode:
Diffstat (limited to 'network/teamviewer')
-rw-r--r--network/teamviewer/teamviewer.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/network/teamviewer/teamviewer.SlackBuild b/network/teamviewer/teamviewer.SlackBuild
index ac4273c99f..ce2b938bd4 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