diff options
author | Willy Sudiarto Raharjo <willysr@gmail.com> | 2013-02-20 12:57:59 +0700 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-02-22 22:30:05 -0600 |
commit | 334d8c2748daf01c224dbef3233c6f4293806f59 (patch) | |
tree | d86ecde45ad711bd8a43cc7e6eade7e443075217 /network | |
parent | a6e86630fb0c686dfb26801b807e1902e856e677 (diff) | |
download | slackbuilds-334d8c2748daf01c224dbef3233c6f4293806f59.tar.gz |
network/teamviewer: Remove dangling symlink first
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r-- | network/teamviewer/teamviewer.SlackBuild | 4 |
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 |