From 040509d1562fb32fde169f2c5b495512bcdcaffd Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Mon, 20 May 2019 16:35:38 +0200 Subject: [PATCH] more travis --- nextcloud_install_production.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nextcloud_install_production.sh b/nextcloud_install_production.sh index 1172de90..b9166245 100644 --- a/nextcloud_install_production.sh +++ b/nextcloud_install_production.sh @@ -16,7 +16,7 @@ is_process_running dpkg # Install curl if not existing if [ "$(dpkg-query -W -f='${Status}' "curl" 2>/dev/null | grep -c "ok installed")" == "1" ] -then +thengr print_text_in_color "$IGreen" "curl OK" else apt update -q4 & spinner_loading @@ -224,7 +224,7 @@ a2enmod rewrite \ a2dismod mpm_prefork # Disable server tokens in Apache -if ! [ "$(grep 'ServerSignature' /etc/apache2/apache2.conf)" ] +if ! [ "$(grep -q 'ServerSignature' /etc/apache2/apache2.conf)" ] then { echo "# Turn off ServerTokens for both Apache and PHP"