2016-11-08 21:45:22 +01:00
|
|
|
#!/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"
|
2018-01-16 18:30:28 +01:00
|
|
|
rm -f /usr/local/libexec/parity /usr/local/libexec/uninstall-parity.sh /usr/local/bin/ethstore /usr/local/bin/ethkey /usr/local/bin/parity-evm $PLIST
|