source: admin/Sources/Clients/ogagent/macos/scripts/postinstall @ 3ca0b65

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
Last change on this file since 3ca0b65 was 9d42c8e, checked in by ramon <ramongomez@…>, 8 years ago

#718: Crear paquete de instalación de OGAgent para macOS.

git-svn-id: https://opengnsys.es/svn/branches/version1.1@5210 a21b9725-9963-47de-94b9-378ad31fedc9

  • Property mode set to 100755
File size: 514 bytes
Line 
1#!/usr/bin/env sh
2
3# Directories
4SRCDIR=$(dirname "$0")
5BINDIR=/usr/local/bin
6INITDIR=/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.
14cp $SRCDIR/ogagent $BINDIR
15cp $SRCDIR/es.opengnsys.ogagent.plist $INITDIR
16
17# Show post-install message.
18osascript -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.