-
-
Save akm/eb02445ccc051844ef66 to your computer and use it in GitHub Desktop.
Remove Firebird DB from MacOS
This file contains hidden or 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment