Skip to content

Instantly share code, notes, and snippets.

@rodrigomaia
Forked from billsinc/gist:1157544
Created May 2, 2013 14:44
Show Gist options
  • Save rodrigomaia/5502690 to your computer and use it in GitHub Desktop.
Save rodrigomaia/5502690 to your computer and use it in GitHub Desktop.
Desinstalar o firebird
#!/bin/sh
echo "Clean Services"
echo "Clean User"
dscl localhost -delete /Local/Default/Users/firebird
echo "Clean Group"
dscl localhost -delete /Local/Default/Groups/firebird
if [ -f "/Library/StartupItems/Firebird" ]; then
echo "Remove SuperServer StartupItem"
rm -fr /Library/StartupItems/Firebird
fi
if [ -f "/Library/LaunchDaemons/org.firebird.gds.plist" ]; then
echo "Remove Launchd"
launchctl unload /Library/LaunchDaemons/org.firebird.gds.plist
rm /Library/LaunchDaemons/org.firebird.gds.plist
fi
echo "Remove Framework"
rm -fr /Library/Frameworks/Firebird.framework
echo "Remove Receipt"
rm -fr /Library/Receipts/Firebird*.pkg
#Add the following for Firebird V2.5
echo "Remove /tmp/firebird"
rm -fr /tmp/firebird
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment