3
# Remove all files relating to Gears for Safari, except for the Gears data
4
# directory in "~/Library/Application Support/Google/Gears for Safari/".
5
rm -rf '~/Library/Internet Plugins/Gears.plugin'
6
sudo rm -rf "/Library/Internet Plug-Ins/Gears.plugin/"
8
# Make sure script is run as root.
9
if [ ${EUID:-1} -ne 0 ]; then
14
rm -rf "/Library/InputManagers/GearsEnabler"
15
rm -rf "/Library/Receipts/Gears.pkg"
16
rm -rf "/Library/Receipts/Google Gears.pkg"
18
echo "Removed Gears for Safari."