source: stable/postflight.sh.in @ 341

Revision 341, 239 bytes checked in by reed, 17 months ago (diff)

Unix Desktop integration

Line 
1#!/bin/bash
2app1="$2/@PROJ_BUNDLE_NAME@.app/Contents/MacOS/@PROJ_BUNDLE_NAME@"
3app2="$2/@PROJ_BUNDLE_NAME@/bin/dawg"
4if [ -x "$app1" ]; then
5  ln -s  "$app1" /usr/bin/dawg
6elif [ -x "$app2" ]; then
7  ln -s "$app2" /usr/bin/dawg
8fi
9exit 0
10
Note: See TracBrowser for help on using the repository browser.