From c53aaa5f480371607fba3ba065425eb0be2b8862 Mon Sep 17 00:00:00 2001 From: Mitesh Shah Date: Thu, 10 Jul 2014 13:55:34 +0530 Subject: [PATCH] fix if statement --- bin/eeupdate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/eeupdate b/bin/eeupdate index 992ea9d2..15b4859d 100644 --- a/bin/eeupdate +++ b/bin/eeupdate @@ -329,7 +329,7 @@ if [[ $EE_CURRENT_VERSION < $EE_LATEST_VERSION ]]; then # Update NGINX if [ "$EE_LINUX_DISTRO" == "Ubuntu" ]; then nginx -v 2>&1 | grep 1.6.0 - if [ $? -ne 0 ] + if [ $? -ne 0 ]; then rm /etc/apt/sources.list.d/brianmercer-nginx* # Add rtCamp nginx launchpad repository ee_lib_echo "Adding rtCamp NGINX launchpad repository, please wait..."