openethereum/mac/uninstall-parity.sh
Gav Wood 8e44212536 Fixes for 1.4 (#3260)
* Fix --geth

* Fix mac installer.

* Fix up installer.

* Additional tweaks.

* Fix for empty APIs

* Another case of empty apis


Former-commit-id: 9cb8309b2c10e64815505af014c6fc33235bd007
2016-11-08 23:21:00 +01:00

14 lines
371 B
Bash
Executable File

#!/bin/bash
if [[ "$SUDO_USER" == "" ]] ; then
echo "This script requires elevated privileges."
sudo $0
exit;
fi
PLIST=~/Library/LaunchAgents/io.parity.ethereum.plist
su $SUDO_USER -c "launchctl stop io.parity.ethereum"
su $SUDO_USER -c "launchctl unload $PLIST"
rm -f /usr/local/libexec/parity /usr/local/libexec/uninstall-parity.sh /usr/local/bin/ethstore $PLIST