/indra/viewer_components/updater/scripts/linux/update_install
#! | 10 lines | 8 code | 2 blank | 0 comment | 0 complexity | c974be2fba2a6598c21a6859bc0230a9 MD5 | raw file
Possible License(s): LGPL-2.1
- #! /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" --stringsdir "$INSTALL_DIR/skins/default/xui/en" --stringsfile "strings.xml"
- if [ $? -ne 0 ]
- then echo $3 >> "$2"
- fi
- rm -f "$1"