summaryrefslogtreecommitdiff
path: root/network/teamviewer/teamviewer.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/teamviewer/teamviewer.SlackBuild')
-rw-r--r--network/teamviewer/teamviewer.SlackBuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/network/teamviewer/teamviewer.SlackBuild b/network/teamviewer/teamviewer.SlackBuild
index 62af54b02b..ac4273c99f 100644
--- a/network/teamviewer/teamviewer.SlackBuild
+++ b/network/teamviewer/teamviewer.SlackBuild
@@ -111,6 +111,12 @@ install -m 0644 $CWD/rc.teamviewerd $PKG/etc/rc.d/rc.teamviewerd.new
# Remove duplicate file
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
+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
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh