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.

source: ogAgent-Git/macos/scripts/postinstall @ d7a7a1f

main
Last change on this file since d7a7a1f was 75ba20c, checked in by ramon <ramongomez@…>, 9 years ago

#718: Revisar documentación y proceso de intalación de OGAgent; actualizar comandos de OGAgent para macOS.

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

  • Property mode set to 100755
File size: 345 bytes
RevLine 
[2bc61be]1#!/usr/bin/env sh
2
3# Directories
4SRCDIR=$(dirname "$0")
[1da7c19]5BINDIR=/usr/bin
[2bc61be]6INITDIR=/Library/LaunchDaemons
7
[75ba20c]8# Check if it needs to install Python dependencies:
9if ! which pip &>/dev/null; then
10    easy_install pip
11    pip install netifaces requests six
12fi
[2bc61be]13
[75ba20c]14# Copying files.
[2bc61be]15cp $SRCDIR/ogagent $BINDIR
16cp $SRCDIR/es.opengnsys.ogagent.plist $INITDIR
17
Note: See TracBrowser for help on using the repository browser.