Jul 29, '11 07:30:00AM • Contributed by: joelbruner
When Safari does an upgrade it saves the previous version in this location:
/Library/Application Support/Apple/.SafariArchive.tar.gz
To restore Safari, have tar to expand the archive to the root folder:
sudo tar -xvf /Library/Application\ Support/Apple/.SafariArchive.tar.gz -C /
sudo rm -rf /private/var/db/receipts/com.apple.pkg.Safari51SnowLeopard.*
[crarko adds: I haven't tested this one. As always, have a recent system backup around just in case. This hint is not applicable to Safari 5.1 on Lion.]
