Commit Graph

17 Commits (680194deaf7a35caaa629abc16e886d71baff636)

Author SHA1 Message Date
Nat Goodspeed 2b8cd2fccf MAINT-2333: Use bouncing progress bar for Linux updater message.
This eliminates the user expectation that s/he must click OK before the
updater will begin installing the new viewer.
2013-06-11 19:23:38 -04:00
Graham Madarasz bf6182daa8 Update Mac and Windows breakpad builds to latest 2013-03-29 07:50:08 -07:00
Nat Goodspeed 22db60ed0d MAINT-1481: use 'mktemp -d' to generate tempdir.
Responding to Lex's code-review comments.
2013-01-11 15:58:50 -05:00
Nat Goodspeed 9e755ee98d MAINT-1481: Clean up update_install UI, including error output.
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-11 12:36:03 -05:00
Nat Goodspeed 83f625445b MAINT-1481: Remove xmenity script and viewer_manifest.py references. 2013-01-11 12:24:44 -05:00
Nat Goodspeed 6e9782f79f MAINT-1481: minor bug fix plus incomplete UI tweaks.
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-10 09:40:20 -05:00
Nat Goodspeed 34f231cc66 MAINT-1481: remove linux-updater; move logic to Linux update_install
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.
2013-01-09 20:39:06 -05:00
Dave Parks cfb666e9d9 merge 2011-11-15 17:04:37 -06:00
Brad Payne (Vir Linden) 47a4ce19c7 SH-2515 WIP - changed app name in linux updater, dir name in windows installer 2011-09-30 13:16:29 -04:00
Andrew A. de Laix 1774489ef8 Vary install failed message depending on whether it was required or not. 2010-12-16 09:34:19 -08:00
brad kittenbrink 3641d012e3 Merge 2010-12-14 16:19:20 -08:00
brad kittenbrink 4f9e6ff2ff Defensive coding for linux updater script for consistency with alain's work on the mac script.
Should be safer if the user is installing to a path with spaces in it.
2010-12-10 17:27:17 -08:00
brad kittenbrink 1664e05527 Attempted fix for CHOP-223: fixed executable permissions on update_install script for mac and linux. 2010-11-29 14:12:56 -08:00
brad kittenbrink b6edd74775 Merged latest lindenlab/viewer-development with mani_linden/viewer-development for bacground updater work. 2010-11-19 12:09:18 -08:00
Mark Palange (Mani) 8e0e5e0bd9 CHOP-203 Deleting the update file after installer run. 2010-11-17 15:20:53 -08:00
Mark Palange (Mani) dd6213abf4 CHOP-209 Added marker creation, fixed updater crash bug 2010-11-16 18:34:58 -08:00
Mark Palange (Mani) 13b77e3622 CHOP-179 Linux install uses linux-updater. Rev. by Alain 2010-11-16 16:21:17 -08:00