Created
August 3, 2013 19:51
-
-
Save terretta/6147748 to your computer and use it in GitHub Desktop.
Fix to uninstall script for MacFuse 2.1.7 on Lion and Mountain Lion. // If you're getting the error "MacFUSE Uninstaller: Can not find the Archive.bom for MacFUSE Core package." it's because MacFuse was installed on Snow Leopard or earlier and the uninstall script doesn't know where the bom (bill of materials) file is. Drop to your terminal, and…
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
OS_RELEASE=`/usr/bin/uname -r` | |
case "$OS_RELEASE" in | |
8*) | |
log "Incorrect uninstall. Use the Tiger version please." | |
exit 1 | |
;; | |
9*) | |
PACKAGE_RECEIPT="$INSTALL_VOLUME/Library/Receipts/MacFUSE Core.pkg" | |
OUTER_PACKAGE_RECEIPT="$INSTALL_VOLUME/Library/Receipts/MacFUSE.pkg" | |
BOMFILE="$PACKAGE_RECEIPT/Contents/Archive.bom" | |
;; | |
10*) | |
PACKAGE_RECEIPT="" | |
BOMFILE="$INSTALL_VOLUME/Library/Receipts/boms/com.google.macfuse.core.bom" | |
;; | |
11*) | |
PACKAGE_RECEIPT="" | |
BOMFILE="$INSTALL_VOLUME/Library/Receipts/boms/com.google.macfuse.core.bom" | |
;; | |
12*) | |
PACKAGE_RECEIPT="" | |
BOMFILE="$INSTALL_VOLUME/Library/Receipts/boms/com.google.macfuse.core.bom" | |
;; | |
esac |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment