PageRenderTime 9ms CodeModel.GetById 1ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/indra/viewer_components/updater/scripts/linux/update_install

https://bitbucket.org/lindenlab/viewer-beta/
#! | 10 lines | 8 code | 2 blank | 0 comment | 0 complexity | c974be2fba2a6598c21a6859bc0230a9 MD5 | raw file
 1#! /bin/bash
 2INSTALL_DIR=$(cd "$(dirname "$0")/.." ; pwd)
 3export LD_LIBRARY_PATH="$INSTALL_DIR/lib"
 4bin/linux-updater.bin --file "$1" --dest "$INSTALL_DIR" --name "Second Life Viewer" --stringsdir "$INSTALL_DIR/skins/default/xui/en" --stringsfile "strings.xml"
 5
 6if [ $? -ne 0 ]
 7   then echo $3 >> "$2"
 8fi
 9
10rm -f "$1"