Skip to content

Instantly share code, notes, and snippets.

@vladkorotnev
Created January 14, 2015 14:13
Show Gist options
  • Save vladkorotnev/dd253cd75e9d6d970c8d to your computer and use it in GitHub Desktop.
Save vladkorotnev/dd253cd75e9d6d970c8d to your computer and use it in GitHub Desktop.
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..
@vladkorotnev
Copy link
Author

@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