Skip to content

Instantly share code, notes, and snippets.

@billsinc
Created August 19, 2011 18:10
Show Gist options
  • Star 12 You must be signed in to star a gist
  • Fork 24 You must be signed in to fork a gist
  • Save billsinc/1157544 to your computer and use it in GitHub Desktop.
Save billsinc/1157544 to your computer and use it in GitHub Desktop.
Remove Firebird DB from MacOS
#!/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
@loranbriggs
Copy link

awesome, thanks!

@felipebadr
Copy link

thanks man!!

@euf
Copy link

euf commented Dec 12, 2016

That’s great, thank you!

@hugohcn
Copy link

hugohcn commented Dec 14, 2016

Nice!

@brunofunnie
Copy link

Thanks dude, Firebird is a cancer and it's quite hard to remove.

@ojvm
Copy link

ojvm commented Mar 14, 2018

Great, it works fine. Thank you

@iHadamard
Copy link

Great!!! Thank you!!

@oktaybogaz
Copy link

Thanks mate!

@MichaelOrtho
Copy link

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment