|
|
Easy fix (unverified)
I can't be sure since I didn't have a chance to download the iTunes2 upgrade but by looking at the shell script code, I think that changing the line:
rm -rf $2/Applications/iTunes.app 2< /dev/nullto: rm -rf "$2/Applications/iTunes.app" 2< /dev/nullshould eliminate the danger of mis-tokenizing the rm -rf line. As a part-time 'nix hacker (Linux, SunOS, OSF and now OSX), I find the use of spaces in directory/file names a "bad thing" and something that should be avoided, particularly in volume names since many basic system scripts don't properly quote their arguments. Because of the way that sh works, spaces in names just doesn't work unless you're totally anal about quoting everything. This rule also helps reduce confusion (for example doing an ls in a directory with three files named "Enkidu Pictures", "Pictures" and "Enkidu"). This is also why I don't run shell scripts in my wife's user area. $1 and $2 are the shell variables and represent the first and second arguments to a script.
Yup...
That's what Apple changed ... by the way, what does the "2 > /dev/null" part do? I know "> /dev/null" is redirect to null, but what's the "2" for?
Yup...
" 2> " refers to Standard Error, just as " > " refers to Standard Output. So the statement " 2> /dev/null " means that any "leftover" error messages will be "trashed" (i.e. discarded, thrown away). Hope that was clear!
2 /dev/null
2> /dev/null
And so the deMacification continues...
Am I the only one who is horrified, not just by the fact that these bugs occur, but by the response to them?
And so the deMacification continues...
Apple made a major mistake. It was completely their fault, which they publicly acknowledged very quickly. They released a fix very quickly.
And so the deMacification continues...
The main problem I have with this whole "mistake" is that, for at least some of us, it' not fixed!! if I try to install iTunes 2.01 now, as soon as it reboots fromthe installation, I'm left with the "smiley mac face" starign at me from the screen, NO cursor at all, and a freeze that lasts until I force a hardware reset, and then force a PRAM reset, just to get back into 9.2.1!! I'm sorry, but this unacceptable!! |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:Hints1 new Hints in the last 24 hoursComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.06 seconds |
|