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


Click here to return to the 'Another Method' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Another Method
Authored by: DaMacGuy on Nov 08, '04 10:26:26AM

I'm sure someone can wrap this up in a nifty little shell script...

Find out if you have a QT update via softwareupdate -l (the -l option doesn't work in 10.2 and earlier, so don't use it to get a list of available updates).

If you do have one available then first run one of these commands (depending on your OS)

For Jaguar:
setenv COMMAND_LINE_INSTALL 1

For Panther:
export COMMAND_LINE_INSTALL=1

Then have softwareupdate install just the Quicktime update. This will only work for one install at a time, I don't know how or if you can have this execute for all downloaded updates (softwareupdate -i -a). So if you have an iPod update, QuickTime, and anything else that throws up a dialog box, you'll have to do this for each one.

This is real handy if you administer a large environment of machines remotely via ARD and SSH.

---
-DaMacGuy



[ Reply to This | # ]
Another Method
Authored by: ClassicUser on Nov 08, '04 03:41:50PM
Note that the syntax actually varies based on your default shell ('echo $SHELL '), not (necessarily) your OS version:

For /bin/tcsh (the default in Cheetah, Puma, and Jaguar):
 setenv COMMAND_LINE_INSTALL 1

For /bin/bash (the default in Panther and Tiger):
 export COMMAND_LINE_INSTALL=1
  or
 set -e COMMAND_LINE_INSTALL=1

[ Reply to This | # ]