downgrade Safari 5.1 to 5.0.5 (OS X 10.6.8)

Jeff-JAMF
New Contributor

I need to downgrade a bunch of Macs running OS X 10.6.8 from Safari 5.1 to
Safari 5.0.5.

Unfortunately, it isn't as easy as dragging the app to the trash and
installing the other version. The residual files from 5.1 won't allow
5.0.5 to be installed.

I found that I can use a 3rd-party app (Pacifist) to do this. It works but
I'm wondering if you know of a way to do this using a script.

Thank you!

Jeff Johnson
Technology Coordinator
Glendale-River Hills School District
Glendale, WI 53209
jeff.johnson at glendale.k12.wi.us

2 REPLIES 2

nessts
Valued Contributor II

My guess would be that you need to run pkgutil --pkgs and get the safari pkgs out of that list and then pkguil --forget and remove them, that should be two - - but Outlook likes to help me by changing those
--
Todd Ness
Technology Consultant/Non-Windows Services
Americas Regional Delivery Engineering
HP Enterprise Services

yr_joelbruner
New Contributor III

The short and sweet of it:

#!/bin/bash

#delete receipt
sudo rm -rf "/private/var/db/receipts/com.apple.pkg.Safari51SnowLeopard.*"

#restore Previous Safari
sudo tar -xvf /Library/Application Support/Apple/.SafariArchive.tar.gz -C
/

-- Joel Bruner
Creative Technology Specialist
Y&R Brands
233 N. Michigan Ave. Ste 1700
Chicago, IL 60608

Mac Helpdesk: 312-596-2757
Direct: 312-596-2747