Posted on 09-20-2011 08:49 AM
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
Posted on 09-20-2011 09:04 AM
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
Posted on 09-22-2011 03:37 PM
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