close
Warning:
Failed to sync with repository "ogBrowser-Git": (1366, "Incorrect string value: '\\xF0\\x9F\\x93\\xA6 I...' for column 'message' at row 1"); repository information may be out of date. Look in the Trac log for more information including mitigation strategies.
main
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.
Download in other formats: