Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Annoyed by "A new version of iWork is available, please install our crap new OS then visit App Store to update?" Tell iWork to buzz off by this script.
#!/bin/bash
# Work Off!
# Disable annoying "Install a new update to iWork but first install our crap update to your OS" etc in iWork
# by akasaka, 2014
echo QUIT IWORK BEFORE CONTINUING
echo QUIT IWORK BEFORE CONTINUING
echo QUIT IWORK BEFORE CONTINUING
echo QUIT IWORK BEFORE CONTINUING
echo QUIT IWORK BEFORE CONTINUING
echo QUIT IWORK BEFORE CONTINUING
echo QUIT IWORK BEFORE CONTINUING
echo QUIT IWORK BEFORE CONTINUING
read -p "Press [Enter] key when iWork is closed..."
echo Patching Pages...
plutil -remove TSURemoteDefaults.OSXUpdateInfo ~/Library/Containers/com.apple.iWork.Pages/Data/Library/Preferences/com.apple.iWork.Pages.plist
plutil -replace TSURemoteDefaultsNextUpdate -string "2099-01-01 01:01:01 +0000" ~/Library/Containers/com.apple.iWork.Pages/Data/Library/Preferences/com.apple.iWork.Pages.plist
echo Patching Keynote...
plutil -remove TSURemoteDefaults.OSXUpdateInfo ~/Library/Containers/com.apple.iWork.Keynote/Data/Library/Preferences/com.apple.iWork.Keynote.plist
plutil -replace TSURemoteDefaultsNextUpdate -string "2099-01-01 01:01:01 +0000" ~/Library/Containers/com.apple.iWork.Keynote/Data/Library/Preferences/com.apple.iWork.Keynote.plist
echo Patching Numbers...
plutil -remove TSURemoteDefaults.OSXUpdateInfo ~/Library/Containers/com.apple.iWork.Numbers/Data/Library/Preferences/com.apple.iWork.Numbers.plist
plutil -replace TSURemoteDefaultsNextUpdate -string "2099-01-01 01:01:01 +0000" ~/Library/Containers/com.apple.iWork.Numbers/Data/Library/Preferences/com.apple.iWork.Numbers.plist
echo Seems to be done! Hope it won’t break anything..

thanks so much!

Owner

vladkorotnev commented Jan 15, 2015

@samtheman324 Glad to help :) Spread the word and help stop forced updates :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment