PageRenderTime 32ms CodeModel.GetById 12ms RepoModel.GetById 0ms app.codeStats 0ms

/indra/viewer_components/updater/scripts/darwin/update_install

https://bitbucket.org/lindenlab/viewer-beta/
#! | 10 lines | 8 code | 2 blank | 0 comment | 0 complexity | 30b37a7e8d2767bfc6d27916846808ba MD5 | raw file
Possible License(s): LGPL-2.1
  1. #! /bin/bash
  2. #
  3. # The first argument contains the path to the installer app. The second a path
  4. # to a marker file which should be created if the installer fails.q
  5. #
  6. cd "$(dirname "$0")"
  7. (../Resources/mac-updater.app/Contents/MacOS/mac-updater -dmg "$1" -name "Second Life Viewer"; if [ $? -ne 0 ]; then echo $3 >> "$2"; fi;) &
  8. exit 0