summaryrefslogtreecommitdiff
path: root/indra/viewer_components/updater/scripts/linux/update_install
diff options
context:
space:
mode:
authorbrad kittenbrink <brad@lindenlab.com>2010-11-19 12:09:18 -0800
committerbrad kittenbrink <brad@lindenlab.com>2010-11-19 12:09:18 -0800
commitb6edd74775e07ce392b0a1785cfc61338c890dad (patch)
treec01e3111d3016e5f6e5453f88d8e5aa30c7ced19 /indra/viewer_components/updater/scripts/linux/update_install
parent1139584b026db86fd20364d0eb21b6e2351f8fb1 (diff)
parent8d21105a8c2b6bff98b4f3b91a614a4710d4b7ea (diff)
Merged latest lindenlab/viewer-development with mani_linden/viewer-development for bacground updater work.
Diffstat (limited to 'indra/viewer_components/updater/scripts/linux/update_install')
-rw-r--r--indra/viewer_components/updater/scripts/linux/update_install10
1 files changed, 10 insertions, 0 deletions
diff --git a/indra/viewer_components/updater/scripts/linux/update_install b/indra/viewer_components/updater/scripts/linux/update_install
new file mode 100644
index 0000000000..fef5ef7d09
--- /dev/null
+++ b/indra/viewer_components/updater/scripts/linux/update_install
@@ -0,0 +1,10 @@
+#! /bin/bash
+INSTALL_DIR=$(cd "$(dirname $0)/.." ; pwd)
+export LD_LIBRARY_PATH=$INSTALL_DIR/lib
+bin/linux-updater.bin --file "$1" --dest "$INSTALL_DIR" --name "Second Life Viewer 2" --stringsdir "$INSTALL_DIR/skins/default/xui/en" --stringsfile "strings.xml"
+
+if [ $? -ne 0 ]
+ then touch $2
+fi
+
+rm -f $1