summaryrefslogtreecommitdiff
path: root/indra/viewer_components/updater/scripts/darwin/update_install
blob: 6a95f96d86f520e5543ac3925544d55b7204716a (plain)
1
2
3
4
5
6
7
8
9
10
#! /bin/bash

#
# The first argument contains the path to the installer app.  The second a path
# to a marker file which should be created if the installer fails.q
#

cd "$(dirname "$0")"
(../Resources/mac-updater.app/Contents/MacOS/mac-updater -dmg "$1" -name "Second Life Viewer 2"; if [ $? -ne 0 ]; then echo $3 >> "$2"; fi;) &
exit 0