summaryrefslogtreecommitdiff
path: root/indra/viewer_components/updater/scripts/linux
AgeCommit message (Collapse)Author
2013-03-29Update Mac and Windows breakpad builds to latestGraham Madarasz
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)
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-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-16CHOP-179 Linux install uses linux-updater. Rev. by AlainMark Palange (Mani)