Nginx stable version

Install nginx stable version instead of official ubuntu ppa.
This commit is contained in:
Cristhian Martínez Ochoa 2017-11-28 14:48:16 -07:00
parent e63b236f89
commit eb79e2dfc1
2 changed files with 7 additions and 2 deletions

View file

@ -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

8
weby
View file

@ -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