Mac installation scripts fixes.

This commit is contained in:
Adam Ierymenko 2013-12-27 15:30:39 -08:00
parent 7a6fe203ee
commit ec3a6428b8
2 changed files with 6 additions and 5 deletions

View file

@ -8,7 +8,8 @@ export PATH="/bin:/usr/bin:/sbin:/usr/sbin:$zthome"
# Uninstall if the .app has been thrown away
if [ ! -d "$ztapp" ]; then
if [ -e "$zthome/uninstall.sh" ]; then
exec "$zthome/uninstall.sh"
cd "$zthome"
./uninstall.sh -q
exit
fi
fi