summaryrefslogtreecommitdiff
path: root/ext/installfiles/mac/uninstall.sh
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-01-08 23:12:03 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-01-08 23:12:03 -0800
commit3482d836ae20db67a136795b9495a9f4ffcde934 (patch)
tree43c056010ae60e19f6fb1dff0a5fe8ca907226df /ext/installfiles/mac/uninstall.sh
parent60731e6d02c4ebeb0700bc1c6a53261159049e01 (diff)
downloadinfinitytier-3482d836ae20db67a136795b9495a9f4ffcde934.tar.gz
infinitytier-3482d836ae20db67a136795b9495a9f4ffcde934.zip
Mac install fixes, more internal use scripts.
Diffstat (limited to 'ext/installfiles/mac/uninstall.sh')
-rwxr-xr-xext/installfiles/mac/uninstall.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/installfiles/mac/uninstall.sh b/ext/installfiles/mac/uninstall.sh
index 73eac91d..d1e9a513 100755
--- a/ext/installfiles/mac/uninstall.sh
+++ b/ext/installfiles/mac/uninstall.sh
@@ -3,7 +3,7 @@
export PATH=/bin:/usr/bin:/sbin:/usr/sbin
zthome="/Library/Application Support/ZeroTier/One"
-ztapp=`mdfind kMDItemCFBundleIdentifier == 'com.zerotier.ZeroTierOne'`
+ztapp=`mdfind kMDItemCFBundleIdentifier == 'com.zerotier.ZeroTierOne' | sort | head -n 1`
if [ "$UID" -ne 0 ]; then
echo "Must be run as root; try: sudo $0"