blob: 4c092ca1264e0c43549fe9e565eeab06e7d46202 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/usr/bin/env sh
# Directories
SRCDIR=$(dirname "$0")
BINDIR=/usr/local/bin
INITDIR=/Library/LaunchDaemons
# Dependencies:
#easy_install pip
#pip install netifaces requests six
# Copy files.
cp $SRCDIR/ogagent $BINDIR
cp $SRCDIR/es.opengnsys.ogagent.plist $INITDIR
# Show post-installation message.
#osascript -e 'display notification "You must install following Python modules: netifaces, requests, six." with title "OGAgent Installer'
|