From eb79e2dfc15b80b33e222c5889ebeb0e341cf77f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristhian=20Mart=C3=ADnez=20Ochoa?= Date: Tue, 28 Nov 2017 14:48:16 -0700 Subject: [PATCH] Nginx stable version Install nginx stable version instead of official ubuntu ppa. --- lib/install | 1 + weby | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/install b/lib/install index b75f035..f548742 100644 --- a/lib/install +++ b/lib/install @@ -111,6 +111,7 @@ messagend_install() { nginx_install() { + echo | sudo add-apt-repository ppa:nginx/stable sudo apt-get update sudo apt-get -y install nginx diff --git a/weby b/weby index a32366e..5ead47c 100644 --- a/weby +++ b/weby @@ -2,7 +2,7 @@ # Webinoly script. # This script is designed to install latest Webinoly. -webyversion="1.0.2" +webyversion="1.1.0-beta" if [[ -n "$1" ]]; then setup="$1" @@ -65,6 +65,10 @@ fi # Write app version conf_write app-version $webyversion +# Check for missing essential packages +sudo apt-get -qq update +sudo apt-get -y -qq install software-properties-common python-software-properties + # NGINX Installation if [[ $setup -gt 0 && $setup != 4 ]]; then @@ -87,6 +91,6 @@ if [ $setup == 4 ]; then fi -# Borrar archivos +# Remove Installation File sudo rm weby app_purge