I think it is an average of 4 TB per mirror per month. With 250,000 downloads a month and 135 MB per download, I think the global figure should be more like 30 TB…
So I've tested the shell script solution on PPC and Intel and everything works without a hitch.
Regarding Launch Services consistently choosing the right platform version, I used Get Info's Open with + Change All dialog and selected the NeoOffice symbolic link in the Applications folder. I tested .doc, .xls, and .ppt files in a variety of contexts and Launch Services always picked the right version. So it seems like there's no problem.
It looks like you all already have a jump on documenting this solution on the Wiki, but on Friday afternoon I wrote the process up too. So for what it is worth here's how I outlined it-- maybe there are some useful tidbits here:
1) On PPC machine install Neooffice and apply current patches. Copy the final resultant app to an external drive or network share.
2) On Intel machine install Neooffice and apply current patches. Copy the final resultant app to an external drive or network share.
3) Organize the two platform-specific apps into folders something like this:
4) Copy these apps and folders into the Application folder of your master image. Be sure there is no other copy of Neooffice (or links/shortcuts/aliases) named Neooffice in the main Applications folder.
5) Open the /Applications/TextEdit application, copy these lines into a new TextEdit document:
Code:
if [ ! -d "/Applications/NeoOffice.app" ] ; then
if [ `/usr/bin/uname -p` = "powerpc" ] ; then
/bin/ln -sf "/Applications/Neoresources/PPC/NeoOffice.app" \
"/Applications/NeoOffice.app"
else
/bin/ln -sf "/Applications/Neoresources/Intel/NeoOffice.app" \
"/Applications/NeoOffice.app"
fi
fi
Note: if you used a different folder naming/organization scheme in #3 then you'll need to change the script accordingly.
6) Select the Format :: Make Plain Text menu and then the File :: Save menu. When the Save dialog appears, name it Untitled.txt, set the Plain Text Encoding field to "Unicode (UTF-8)", and save it to your desktop.
7) Move the file that you saved to /etc/rc.local using the following Terminal commands:
8) If you clone from one machine to another be sure you throw away the Neooffice symbolic link in the main Applications folder, then your rc.local script will recreate a new, platform-correct link.
Thanks so much one and all! Looks like Neooffice will be going in the dock at Green Mountain College!
If you clone from one machine to another be sure you throw away the Neooffice symbolic link in the main Applications folder, then your rc.local script will recreate a new, platform-correct link.
FYI. Deleting the symbolic link should not be necessary as the script will replace any existing symbolic link with the new one. Also, the script will run automatically each time you boot the machine so if the softlink gets accidently deleted or changed, a reboot should fix it.
It looks like you all already have a jump on documenting this solution on the Wiki, but on Friday afternoon I wrote the process up too. So for what it is worth here's how I outlined it-- maybe there are some useful tidbits here:
Thanks for posting back with the results and your steps; I'll compare the two sets later today and incorporate anything that's missing.
Smokey _________________ "[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
All times are GMT - 7 Hours Goto page Previous1, 2, 3
Page 3 of 3
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum