summaryrefslogtreecommitdiff
path: root/indra/viewer_components/updater/scripts/darwin/update_install
diff options
context:
space:
mode:
Diffstat (limited to 'indra/viewer_components/updater/scripts/darwin/update_install')
-rw-r--r--indra/viewer_components/updater/scripts/darwin/update_install3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/viewer_components/updater/scripts/darwin/update_install b/indra/viewer_components/updater/scripts/darwin/update_install
index b174b3570a..e7f36dc5a3 100644
--- a/indra/viewer_components/updater/scripts/darwin/update_install
+++ b/indra/viewer_components/updater/scripts/darwin/update_install
@@ -5,5 +5,6 @@
# to a marker file which should be created if the installer fails.q
#
-open ../Resources/mac-updater.app --args -dmg "$1" -name "Second Life Viewer 2" -marker "$2"
+cd "$(dirname "$0")"
+(../Resources/mac-updater.app/Contents/MacOS/mac-updater -dmg "$1" -name "Second Life Viewer"; if [ $? -ne 0 ]; then echo $3 >> "$2"; fi;) &
exit 0