MacOS installer: Uninstaller must be able to deal with ATiger receipts
authorManuel M T Chakravarty <chak@cse.unsw.edu.au>
Thu, 28 Feb 2008 05:07:07 +0000 (05:07 +0000)
committerManuel M T Chakravarty <chak@cse.unsw.edu.au>
Thu, 28 Feb 2008 05:07:07 +0000 (05:07 +0000)
distrib/MacOS/installer-scripts/Uninstaller

index 678fce8..696d571 100644 (file)
@@ -68,6 +68,8 @@ echo "Removing ${INSTALL_DEST}/GHC.framework"
 rm -rf ${INSTALL_DEST}/GHC.framework
 
 echo "Removing package recipt"
+# The first is for Leopard packages and the second for Tiger packages.
 rm -f /Library/Receipts/boms/org.haskell.glasgowHaskellCompiler.ghc.pkg.bom
+rm -rf /Library/Receipts/ghc.pkg
 
 echo "${INSTALL_DEST}/GHC.framework has been purged!"