Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Fails if there are ignored updates' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Fails if there are ignored updates
Authored by: tcj on Oct 10, '08 09:33:02AM

The script will fail (actually continue the rebooting cycle forever) if you re-install the system but keep users and network settings where you have ignored some updates. The script line:
if [ `softwareupdate -l | wc -l` -le 3 ]
returns "4" instead of "3" with ignored updates after all the other updates are installed. I don't know if just changing the 3 to a 4 in the script would work, or if something more is required.

[ Reply to This | # ]
Fails if there are ignored updates
Authored by: phillymjs on Nov 13, '08 07:26:33AM

I don't have any plans to add handling of that situation to the script, but just changing the linecount number it looks for probably wouldn't be enough... you'd probably want to also grep the results of softwareupdate for 'ignored' or whatever key word or phrase is returned when some updates are ignored.

Need Mac support for a business in the Philadelphia, PA metro area? Contact me.

[ Reply to This | # ]