source:
ogAgent-Git/macos/scripts/postinstall
@
804c389
Last change on this file since 804c389 was 1da7c19, checked in by , 9 years ago | |
---|---|
|
|
File size: 437 bytes |
Rev | Line | |
---|---|---|
[2bc61be] | 1 | #!/usr/bin/env sh |
2 | ||
3 | # Directories | |
4 | SRCDIR=$(dirname "$0") | |
[1da7c19] | 5 | BINDIR=/usr/bin |
[2bc61be] | 6 | INITDIR=/Library/LaunchDaemons |
7 | ||
8 | # Dependencies: | |
[f184686] | 9 | #easy_install pip |
10 | #pip install netifaces requests six | |
[2bc61be] | 11 | |
[f184686] | 12 | # Copy files. |
[2bc61be] | 13 | cp $SRCDIR/ogagent $BINDIR |
14 | cp $SRCDIR/es.opengnsys.ogagent.plist $INITDIR | |
15 | ||
[f184686] | 16 | # Show post-installation message. |
17 | #osascript -e 'display notification "You must install following Python modules: netifaces, requests, six." with title "OGAgent Installer' | |
[2bc61be] | 18 |
Note: See TracBrowser
for help on using the repository browser.