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