> 
> #!/bin/sh
> cd /tmp
> /usr/bin/wget 
> ftp://ftp.mozilla.org/pub/mozilla/nightly/latest/mozilla-win32.zip
> rm -rf /vols/next/c/Program\ Files/mozilla-win32/bin/*
> cd /vols/next/c/Program\ Files/mozilla-win32/
> /usr/bin/unzip -o -C -u /tmp/mozilla-win32.zip
> mv /tmp/mozilla-win32.zip /vols/local/home/downloads/network/
> 


Nice script.  bash:-)

I make a directory for mozilla in my /home/username/moz
I download the tar.gz to the moz folder and overwrite the last one I 
downloaded. and close mozilla.  then I rename my old ~/moz/mozilla 
folder to the current date like ~/moz/mozilla1025 and extract the new 
mozilla.tar.gz (like this tar -zxvf mozilla.tar.gz ... or from my 
filemanager GMC, I just right click and select extract) and this leaves 
me a new ~/moz/mozilla folder.  in my ~/moz folder I keep a folder with 
a copy of my plugins ~/moz/plugins. then I just select all plugins and 
copy back into ~/moz/mozilla/plugins.  On Linux, Mozilla puts my 
mail/bookmarks/prefs.. in a folder at ~/.mozilla, I leave that one 
alone.  It's really rare that I have to redo any settings but I still 
set all my popmail accounts to "leave messages on server" just in case I 
do have to dump my ~/.mozilla folder.

A nice shell script to do this all for me wouldn't be too hard to do and 
might be something of value to the mozilla users out there.  add-on 
stuff like most of the projects over at Mozdev.org, seem to get stored 
with the application and not with the user folder, I wonder if this can 
be set to put extra chrome and sidebar add-on stuff into the userfolder 
instead and if that would work. is the install location set by the 
application being added on or Mozilla itself.  could the default install 
location be specified in prefs so the installer would put stuff in your 
prefs folder instead?


Reply via email to