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-instalacionwebconsole3
Rev | Line | |
---|
[9d42c8e] | 1 | #!/usr/bin/env sh |
---|
| 2 | |
---|
| 3 | # Directories |
---|
| 4 | SRCDIR=$(dirname "$0") |
---|
| 5 | BINDIR=/usr/local/bin |
---|
| 6 | INITDIR=/Library/LaunchDaemons |
---|
| 7 | |
---|
| 8 | # Dependencies: |
---|
| 9 | #easy_install pip # Si no existe pip. |
---|
| 10 | # comprobar versión de six, descargar e instalar con easy_install. |
---|
| 11 | #easy_install netifaces |
---|
| 12 | |
---|
| 13 | # Copi files. |
---|
| 14 | cp $SRCDIR/ogagent $BINDIR |
---|
| 15 | cp $SRCDIR/es.opengnsys.ogagent.plist $INITDIR |
---|
| 16 | |
---|
| 17 | # Show post-install message. |
---|
| 18 | osascript -e 'display notification "You must update Python Six from sourece and install netifaces module." with title "OGAgent Installer' |
---|
| 19 | |
---|
Note: See
TracBrowser
for help on using the repository browser.