summaryrefslogtreecommitdiff
path: root/ext/installfiles
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-01-06 13:25:07 -0500
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-01-06 13:25:07 -0500
commitf2976178c912c30af2a941eaff6981cb2e1c3b20 (patch)
treedc0cf55a7e54150d3f6d3bdda9d3a961c48f6d78 /ext/installfiles
parent76638aae76117b3ac3352c499498570e8d9b5664 (diff)
downloadinfinitytier-f2976178c912c30af2a941eaff6981cb2e1c3b20.tar.gz
infinitytier-f2976178c912c30af2a941eaff6981cb2e1c3b20.zip
Installer bugfix on Linux.
Diffstat (limited to 'ext/installfiles')
-rw-r--r--ext/installfiles/linux/install.tmpl.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/installfiles/linux/install.tmpl.sh b/ext/installfiles/linux/install.tmpl.sh
index c32b2cab..834ad64b 100644
--- a/ext/installfiles/linux/install.tmpl.sh
+++ b/ext/installfiles/linux/install.tmpl.sh
@@ -57,7 +57,8 @@ fi
echo 'Installing zerotier-cli command line utility...'
-ln -sf /var/lib/zerotier-one /usr/bin/zerotier-cli
+rm -f /usr/bin/zerotier-cli
+ln -sf /var/lib/zerotier-one/zerotier-one /usr/bin/zerotier-cli
echo 'Installing and (re-)starting zerotier-one daemon...'