Skip to content
This repository has been archived by the owner on Dec 10, 2018. It is now read-only.

Commit

Permalink
Close tray before uninstalling on Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
tresf committed Mar 15, 2016
1 parent 66a2dc0 commit bc5c3a6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions ant/apple/apple-uninstall.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ if [ "$(id -u)" != "0" ]; then
exit 1
fi

# Kill any running versions
echo -e "Killing any running versions..."
kill -9 $(ps -e |grep "${build.socket.name}.jar" |grep -v grep|awk '{print $1}') > /dev/null 2>&1
if [ $? -eq 0 ]; then
echo -e "${bash.success}"
else
echo -e "${bash.skipped}"
fi

# Uninstall ${socket.name} system certificates
"${apple.installdir}/auth/${apple.keygen.name}" "uninstall"

Expand Down

0 comments on commit bc5c3a6

Please sign in to comment.