Some more test results, and fix OSX installer to put symlinks in /usr/local as per El Capitan requirements.

This commit is contained in:
Adam Ierymenko 2015-11-10 15:11:15 -08:00
parent 0e4a2c378f
commit 0cf4ddda4a
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash
export PATH=/bin:/usr/bin:/sbin:/usr/sbin
export PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
launchctl unload /Library/LaunchDaemons/com.zerotier.one.plist >>/dev/null 2>&1
@ -16,7 +16,8 @@ rm -f zerotier-cli zerotier-idtool
ln -sf zerotier-one zerotier-cli
ln -sf zerotier-one zerotier-idtool
cd /usr/bin
mkdir -p /usr/local/bin
cd /usr/local/bin
rm -f zerotier-cli zerotier-idtool
ln -sf "/Library/Application Support/ZeroTier/One/zerotier-one" zerotier-cli
ln -sf "/Library/Application Support/ZeroTier/One/zerotier-one" zerotier-idtool

Binary file not shown.