Created
August 19, 2011 18:10
-
-
Save billsinc/1157544 to your computer and use it in GitHub Desktop.
Remove Firebird DB from MacOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
thanks man!!
That’s great, thank you!
Nice!
Thanks dude, Firebird is a cancer and it's quite hard to remove.
Great, it works fine. Thank you
Great!!! Thank you!!
Thanks mate!
Thank you!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
awesome, thanks!