Add a dependencies hook for plugin dependency management

This commit is contained in:
Stafford Brunk
2013-10-29 14:44:48 -06:00
committed by Jose Diaz-Gonzalez
parent 10b5ee0321
commit e94b46cb0c
4 changed files with 15 additions and 7 deletions

View File

@@ -0,0 +1,7 @@
#!/bin/bash
# latest stable NGINX 1.4.x with websocket support
apt-get install -qq -y software-properties-common python-software-properties
add-apt-repository -y ppa:nginx/stable
apt-get update
apt-get install -qq -y nginx dnsutils

View File

@@ -1,12 +1,6 @@
#!/usr/bin/env bash
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
# latest stable NGINX 1.4.x with websocket support
apt-get install -qq -y software-properties-common python-software-properties
add-apt-repository -y ppa:nginx/stable
apt-get update
apt-get install -qq -y nginx dnsutils
if ! grep -q dokku-nginx-reload "/etc/sudoers"; then
touch /etc/sudoers.tmp
cp /etc/sudoers /tmp/sudoers.new