Created
July 9, 2012 11:29
-
-
Save edingc/3075923 to your computer and use it in GitHub Desktop.
Supressing Adobe Reader X EULA and Disabling Updates on Mac OS X using PlistBuddy
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
#!/bin/bash | |
# Disables Adobe Reader X EULA and automatic update checks | |
USERPREFS_DIR="/System/Library/User Template/English.lproj/Library/Preferences" | |
/usr/libexec/PlistBuddy -c "Delete 10:EULAAccepted" "${USERPREFS_DIR}/com.adobe.Reader.plist" | |
/usr/libexec/PlistBuddy -c "Add 10:EULAAccepted bool TRUE" "${USERPREFS_DIR}/com.adobe.Reader.plist" | |
/usr/libexec/PlistBuddy -c "Delete 10:AVGeneral:CheckForUpdatesAtStartup:1" "${USERPREFS_DIR}/com.adobe.Reader.plist" | |
/usr/libexec/PlistBuddy -c "Add 10:AVGeneral:CheckForUpdatesAtStartup array" "${USERPREFS_DIR}/com.adobe.Reader.plist" | |
/usr/libexec/PlistBuddy -c "Add 10:AVGeneral:CheckForUpdatesAtStartup:1" "${USERPREFS_DIR}/com.adobe.Reader.plist" | |
/usr/libexec/PlistBuddy -c "Add 10:AVGeneral:CheckForUpdatesAtStartup:1 integer 0" "${USERPREFS_DIR}/com.adobe.Reader.plist" | |
/usr/libexec/PlistBuddy -c "Add 10:AVGeneral:CheckForUpdatesAtStartup:1 bool FALSE" | |
# Exit with zero status | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment