source: admin/Sources/Clients/ogagent/macos/scripts/postinstall @ 2fd9054

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 2fd9054 was 8db55ed, checked in by ramon <ramongomez@…>, 8 years ago

#718: OGAgent para macOS: añadir dependencia a la MV Vagrant; crear fichero pkg sin espacios y evitar error al instalar OGAgent si no existe /usr/local.

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

  • Property mode set to 100755
File size: 437 bytes
Line 
1#!/usr/bin/env sh
2
3# Directories
4SRCDIR=$(dirname "$0")
5BINDIR=/usr/bin
6INITDIR=/Library/LaunchDaemons
7
8# Dependencies:
9#easy_install pip
10#pip install netifaces requests six
11
12# Copy files.
13cp $SRCDIR/ogagent $BINDIR
14cp $SRCDIR/es.opengnsys.ogagent.plist $INITDIR
15
16# Show post-installation message.
17#osascript -e 'display notification "You must install following Python modules: netifaces, requests, six." with title "OGAgent Installer'
18
Note: See TracBrowser for help on using the repository browser.