|
@ -474,21 +474,25 @@ EE134() |
|
|
{ |
|
|
{ |
|
|
if [ "$LINUX_DISTRO" == "Ubuntu" ] |
|
|
if [ "$LINUX_DISTRO" == "Ubuntu" ] |
|
|
then |
|
|
then |
|
|
# Removing Old Nginx Repository |
|
|
nginx -v 2>&1 | grep 1.4.7 |
|
|
rm /etc/apt/sources.list.d/brianmercer-nginx* |
|
|
if [ $? -ne 0 ] |
|
|
|
|
|
then |
|
|
|
|
|
# Removing Old Nginx Repository |
|
|
|
|
|
rm /etc/apt/sources.list.d/brianmercer-nginx* |
|
|
|
|
|
|
|
|
# Add rtCamp Nginx Launchpad Repository |
|
|
# Add rtCamp Nginx Launchpad Repository |
|
|
echo -e "\033[34mAdding rtCamp Nginx Launchpad Repository, Please Wait...\e[0m" |
|
|
echo -e "\033[34mAdding rtCamp Nginx Launchpad Repository, Please Wait...\e[0m" |
|
|
add-apt-repository -y ppa:rtcamp/nginx &>> $INSTALLLOG \ |
|
|
add-apt-repository -y ppa:rtcamp/nginx &>> $INSTALLLOG \ |
|
|
|| OwnError "Unable To Add Nginx Launchpad Repository" |
|
|
|| OwnError "Unable To Add Nginx Launchpad Repository" |
|
|
|
|
|
|
|
|
# Update The APT Cache |
|
|
# Update The APT Cache |
|
|
echo -e "\033[34mUpdating APT Cache, Please Wait...\e[0m" |
|
|
echo -e "\033[34mUpdating APT Cache, Please Wait...\e[0m" |
|
|
apt-get update &>> $INSTALLLOG || OwnError "Unable To Update APT Cache" |
|
|
apt-get update &>> $INSTALLLOG || OwnError "Unable To Update APT Cache" |
|
|
|
|
|
|
|
|
# Update Nginx |
|
|
# Update Nginx |
|
|
apt-get -o Dpkg::Options::="--force-confold" -y install nginx-custom \ |
|
|
apt-get -o Dpkg::Options::="--force-confold" -y install nginx-custom \ |
|
|
|| OwnError "Unable To Update Nginx" |
|
|
|| OwnError "Unable To Update Nginx" |
|
|
|
|
|
fi |
|
|
fi |
|
|
fi |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -596,7 +600,7 @@ then |
|
|
EECURRENTVERSION="1.3.4" |
|
|
EECURRENTVERSION="1.3.4" |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
if [[ $EECURRENTVERSION = 1.3.4 ]] |
|
|
if [[ $EECURRENTVERSION = 1.3.4 ]] || [[ $EECURRENTVERSION = 1.3.5 ]] |
|
|
then |
|
|
then |
|
|
EE134 |
|
|
EE134 |
|
|
fi |
|
|
fi |
|
|