summaryrefslogtreecommitdiff
path: root/ext/installfiles
diff options
context:
space:
mode:
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...'