Mac installation scripts fixes.
This commit is contained in:
@@ -8,7 +8,8 @@ export PATH="/bin:/usr/bin:/sbin:/usr/sbin:$zthome"
|
|||||||
# Uninstall if the .app has been thrown away
|
# Uninstall if the .app has been thrown away
|
||||||
if [ ! -d "$ztapp" ]; then
|
if [ ! -d "$ztapp" ]; then
|
||||||
if [ -e "$zthome/uninstall.sh" ]; then
|
if [ -e "$zthome/uninstall.sh" ]; then
|
||||||
exec "$zthome/uninstall.sh"
|
cd "$zthome"
|
||||||
|
./uninstall.sh -q
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -18,11 +18,11 @@ if [ "$1" = "-q" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo
|
echo
|
||||||
|
|
||||||
if [ $quickAndQuiet -eq 0 ]; then
|
if [ $quickAndQuiet -eq 0 ]; then
|
||||||
echo "This will uninstall ZeroTier One, hit CTRL+C to abort."
|
echo "This will uninstall ZeroTier One, hit CTRL+C to abort."
|
||||||
echo "Waiting 5 seconds..."
|
echo "Waiting 5 seconds..."
|
||||||
sleep 5
|
sleep 5
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Unloading and removing LaunchDaemons item..."
|
echo "Unloading and removing LaunchDaemons item..."
|
||||||
|
|||||||
Reference in New Issue
Block a user