summaryrefslogtreecommitdiff
path: root/indra/viewer_components/updater/scripts
AgeCommit message (Collapse)Author
2013-01-11MAINT-1481: use 'mktemp -d' to generate tempdir.Nat Goodspeed
Responding to Lex's code-review comments.
2013-01-11MAINT-1481: Clean up update_install UI, including error output.Nat Goodspeed
Capture actual error output from mkdir and mv; display it to user. Introduce mysudo function used by sudo_mv function for graphical sudo command. Since update_install actually only displays a single status message, just use zenity --info instead of a zenity progress box: need not update its message. Borrow semantics for clear_message and status functions from xmenity script. Introduce errorbox function so we only have to make zenity/xmessage test once. Move cleanup, onexit to top so we can use for clear_message.
2013-01-11MAINT-1481: Remove xmenity script and viewer_manifest.py references.Nat Goodspeed
2013-01-10MAINT-1481: minor bug fix plus incomplete UI tweaks.Nat Goodspeed
Test for existence of target name using -e rather than -f. (-d would work too, but in this case we must respond to any name collision, whether file or directory.) Instead of terminating on failure, make sudo_mv return rc of the [sudo] mv command to its caller. If the attempt to move new install to actual viewer directory fails, restore previous viewer before failing. When redirecting the script's stderr to updater.log, first save existing stderr to another file descriptor, and restore it when we launch viewer. Otherwise updater.log ends up collecting the viewer's duplicate stderr log output! The construct 'exec ... | program' doesn't work. In fact it causes any other redirections on that command to fail too. Remove it -- real fix pending.
2013-01-09MAINT-1481: remove linux-updater; move logic to Linux update_installNat Goodspeed
Now that the viewer's own background updater logic is responsible for downloading a new installer, the only functionality we still use in linux-updater that couldn't be expressed more simply in bash is the UI. But since most Linux distros capable of running SL at all have zenity, and all will have xmessage, we can handle even the UI part. Add xmenity wrapper script so update_install doesn't have to care which is present, and make the bash script that used to launch linux-updater do the real work.
2011-11-15mergeDave Parks
2011-09-30SH-2515 WIP - changed app name in linux updater, dir name in windows installerBrad Payne (Vir Linden)
2011-09-30SH-2515 WIP - changed app name in mac-updaterBrad Payne (Vir Linden)
2010-12-16Vary install failed message depending on whether it was required or not.Andrew A. de Laix
2010-12-14Mergebrad kittenbrink
2010-12-10Defensive coding for linux updater script for consistency with alain's work ↵brad kittenbrink
on the mac script. Should be safer if the user is installing to a path with spaces in it.
2010-12-10fix quoting in script to work with spaces in directory names.Andrew A. de Laix
2010-12-10fix working directory in install script and remove dependency on open option ↵Andrew A. de Laix
--args which is 10.6 only. Also fix erroneous check in process launcher which was mistakenly reporting a failed execution of the new updater script.
2010-11-29Attempted fix for CHOP-223: fixed executable permissions on update_install ↵brad kittenbrink
script for mac and linux.
2010-11-19Merged latest lindenlab/viewer-development with ↵brad kittenbrink
mani_linden/viewer-development for bacground updater work.
2010-11-17CHOP-203 Deleting the update file after installer run.Mark Palange (Mani)
2010-11-16CHOP-209 Added marker creation, fixed updater crash bugMark Palange (Mani)
2010-11-16mergeMark Palange (Mani)
2010-11-16CHOP-179 Linux install uses linux-updater. Rev. by AlainMark Palange (Mani)
2010-11-16clean up installer file after install.Andrew A. de Laix
2010-11-15create marker on error; use /SKIP_DIALOGS option in installer to run without ↵Andrew A. de Laix
user input.
2010-11-15write marker on windows installer fail.Andrew A. de Laix
2010-11-15added mechanism for install scripts to indicate a failed install and for ↵Andrew A. de Laix
update service to note the failure; modified mac installer to write marker on error.
2010-11-11MergeMark Palange (Mani)
2010-11-11hacking mac updater to install from local dmgAndrew A. de Laix
2010-11-11Add very basic windows install script.Andrew A. de Laix
2010-11-10MergeMark Palange (Mani)
2010-11-09beginnings of the update installer (with simple install script for darwin).Andrew A. de Laix