configure-ptt-chedecorare-oglive-methodsejecutarscript-b64fix-cfg2objfixes-winlgromero-filebeatmainmodulesnew-browserno-ptt-paramogadmcliogadmclient-statusogagent-jobsogagent-macosogcore1ogliveoglogoglog2override-moduleping1ping2ping3ping4py3-winpython3qndtestreport-progresstlsunification2unification3versionswindows-fixes
Line | |
---|
1 | #!/usr/bin/env sh |
---|
2 | |
---|
3 | # Directories |
---|
4 | SRCDIR=$(dirname "$0") |
---|
5 | BINDIR=/usr/bin |
---|
6 | INITDIR=/Library/LaunchDaemons |
---|
7 | |
---|
8 | # Check if it needs to install Python dependencies: |
---|
9 | if ! which pip &>/dev/null; then |
---|
10 | easy_install pip |
---|
11 | pip install netifaces requests six |
---|
12 | fi |
---|
13 | |
---|
14 | # Copying files. |
---|
15 | cp $SRCDIR/ogagent $BINDIR |
---|
16 | cp $SRCDIR/es.opengnsys.ogagent.plist $INITDIR |
---|
17 | |
---|
Note: See
TracBrowser
for help on using the repository browser.