summaryrefslogtreecommitdiff
path: root/indra/viewer_components/updater/scripts/linux/update_install
blob: 88451340eca36ace15d01f845bba765b9933a7aa (plain)
1
2
3
4
5
6
7
8
9
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 echo $3 >> "$2"
fi

rm -f "$1"