918-git-images-111dconfigfileconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacion
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.