<feed xmlns='http://www.w3.org/2005/Atom'>
<title>viewer.git/indra/viewer_components/updater/scripts/linux/update_install, branch main</title>
<subtitle>Megapahit's fork of the Second Life viewer.
</subtitle>
<id>https://www.megapahit.org/viewer.git/atom?h=main</id>
<link rel='self' href='https://www.megapahit.org/viewer.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/'/>
<updated>2016-08-18T20:05:30Z</updated>
<entry>
<title>SL-323: first pass at ripping out old updater</title>
<updated>2016-08-18T20:05:30Z</updated>
<author>
<name>Glenn Glazer</name>
<email>coyot@lindenlab.com</email>
</author>
<published>2016-08-18T20:05:30Z</published>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/commit/?id=c8c143e7741d2b93b589d770b64c265228293564'/>
<id>urn:sha1:c8c143e7741d2b93b589d770b64c265228293564</id>
<content type='text'>
</content>
</entry>
<entry>
<title>MAINT-2333: Use bouncing progress bar for Linux updater message.</title>
<updated>2013-06-11T23:23:38Z</updated>
<author>
<name>Nat Goodspeed</name>
<email>nat@lindenlab.com</email>
</author>
<published>2013-06-11T23:23:38Z</published>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/commit/?id=2b8cd2fccf2938a9a1109be44aaf38554232c5d9'/>
<id>urn:sha1:2b8cd2fccf2938a9a1109be44aaf38554232c5d9</id>
<content type='text'>
This eliminates the user expectation that s/he must click OK before the
updater will begin installing the new viewer.
</content>
</entry>
<entry>
<title>Update Mac and Windows breakpad builds to latest</title>
<updated>2013-03-29T14:50:08Z</updated>
<author>
<name>Graham Madarasz</name>
<email>graham@lindenlab.com</email>
</author>
<published>2013-03-29T14:50:08Z</published>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/commit/?id=bf6182daa8b4d7cea79310547f71d7a3155e17b0'/>
<id>urn:sha1:bf6182daa8b4d7cea79310547f71d7a3155e17b0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>MAINT-1481: use 'mktemp -d' to generate tempdir.</title>
<updated>2013-01-11T20:58:50Z</updated>
<author>
<name>Nat Goodspeed</name>
<email>nat@lindenlab.com</email>
</author>
<published>2013-01-11T20:58:50Z</published>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/commit/?id=22db60ed0dfd606ab8f8d49141446442a4a72a48'/>
<id>urn:sha1:22db60ed0dfd606ab8f8d49141446442a4a72a48</id>
<content type='text'>
Responding to Lex's code-review comments.
</content>
</entry>
<entry>
<title>MAINT-1481: Clean up update_install UI, including error output.</title>
<updated>2013-01-11T17:36:03Z</updated>
<author>
<name>Nat Goodspeed</name>
<email>nat@lindenlab.com</email>
</author>
<published>2013-01-11T17:36:03Z</published>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/commit/?id=9e755ee98d6851154874a735c559c80509d7501d'/>
<id>urn:sha1:9e755ee98d6851154874a735c559c80509d7501d</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>MAINT-1481: minor bug fix plus incomplete UI tweaks.</title>
<updated>2013-01-10T14:40:20Z</updated>
<author>
<name>Nat Goodspeed</name>
<email>nat@lindenlab.com</email>
</author>
<published>2013-01-10T14:40:20Z</published>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/commit/?id=6e9782f79f6d3cac2bfeb72c6cd43b409020c76e'/>
<id>urn:sha1:6e9782f79f6d3cac2bfeb72c6cd43b409020c76e</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>MAINT-1481: remove linux-updater; move logic to Linux update_install</title>
<updated>2013-01-10T01:39:06Z</updated>
<author>
<name>Nat Goodspeed</name>
<email>nat@lindenlab.com</email>
</author>
<published>2013-01-10T01:39:06Z</published>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/commit/?id=34f231cc66bc746228fe367712447058d76757b3'/>
<id>urn:sha1:34f231cc66bc746228fe367712447058d76757b3</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>merge</title>
<updated>2011-11-15T23:04:37Z</updated>
<author>
<name>Dave Parks</name>
<email>davep@lindenlab.com</email>
</author>
<published>2011-11-15T23:04:37Z</published>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/commit/?id=cfb666e9d9eb8945a79e2f7999459267caca36ee'/>
<id>urn:sha1:cfb666e9d9eb8945a79e2f7999459267caca36ee</id>
<content type='text'>
</content>
</entry>
<entry>
<title>SH-2515 WIP - changed app name in linux updater, dir name in windows installer</title>
<updated>2011-09-30T17:16:29Z</updated>
<author>
<name>Brad Payne (Vir Linden)</name>
<email>vir@lindenlab.com</email>
</author>
<published>2011-09-30T17:16:29Z</published>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/commit/?id=47a4ce19c7fea465eefe85ec236394fb2990470d'/>
<id>urn:sha1:47a4ce19c7fea465eefe85ec236394fb2990470d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Vary install failed message depending on whether it was required or not.</title>
<updated>2010-12-16T17:34:19Z</updated>
<author>
<name>Andrew A. de Laix</name>
<email>alain@lindenlab.com</email>
</author>
<published>2010-12-16T17:34:19Z</published>
<link rel='alternate' type='text/html' href='https://www.megapahit.org/viewer.git/commit/?id=1774489ef8c224359e39d6281497e5128b043d24'/>
<id>urn:sha1:1774489ef8c224359e39d6281497e5128b043d24</id>
<content type='text'>
</content>
</entry>
</feed>
