File tree Expand file tree Collapse file tree 3 files changed +33
-1
lines changed Expand file tree Collapse file tree 3 files changed +33
-1
lines changed Original file line number Diff line number Diff line change 1+ v 1.3.5 - Apr 22, 2014
2+ - Update nginx to the latest stable version (1.4.7)
3+
14v 1.3.4 - Apr 22, 2014
25 - Supports Ubuntu 12.04, 12.10, 13.10 & 14.04 ( Fixed Issue #94 #195 )
36 - Change FPM process management from dynamic to ondemand #184
Original file line number Diff line number Diff line change @@ -1965,7 +1965,7 @@ if [ "$1" = "version" ] || [ "$1" = "--version" ] || [ "$1" = "-v" ]
19651965then
19661966
19671967 # Display Easy Engine Version
1968- echo " easyengine version: 1.3.4 "
1968+ echo " easyengine version: 1.3.5 "
19691969
19701970# Easy Engine Info
19711971elif [ " $1 " = " info" ]
Original file line number Diff line number Diff line change 33
44# Make Variables Available For Later Use
55INSTALLLOG=/var/log/easyengine/install.log
6+ LINUX_DISTRO=$( lsb_release -i | cut -d' :' -f2 | awk ' {print $1}' )
67
78# Capture Errors
89OwnError ()
@@ -469,6 +470,28 @@ EE133()
469470 fi
470471}
471472
473+ EE134 ()
474+ {
475+ if [ " $LINUX_DISTRO " == " Ubuntu" ]
476+ then
477+ # Removing Old Nginx Repository
478+ rm /etc/apt/sources.list.d/brianmercer-nginx*
479+
480+ # Add Nginx Launchpad Repository
481+ echo -e " \033[34mAdding rtCamp Nginx Launchpad Repository, Please Wait...\e[0m"
482+ add-apt-repository -y ppa:rtcamp/nginx & >> $INSTALLLOG \
483+ || OwnError " Unable To Add Nginx Launchpad Repository"
484+
485+ # Update The APT Cache
486+ echo -e " \033[34mUpdating APT Cache, Please Wait...\e[0m"
487+ apt-get update & >> $INSTALLLOG || OwnError " Unable To Update APT Cache"
488+
489+ # Update Nginx
490+ apt-get -o Dpkg::Options::=" --force-confold" install nginx-custom \
491+ || OwnError " Unable To Update Nginx"
492+ fi
493+ }
494+
472495HTTPAUTH ()
473496{
474497 # Get The htpasswd Details
@@ -570,6 +593,12 @@ then
570593 if [[ $EECURRENTVERSION = 1.3.3 ]]
571594 then
572595 EE133
596+ EECURRENTVERSION=" 1.3.4"
597+ fi
598+
599+ if [[ $EECURRENTVERSION = 1.3.4 ]]
600+ then
601+ EE134
573602 fi
574603 fi
575604
You can’t perform that action at this time.
0 commit comments