From 87a939a43fcbe0835f5a456243fee9c9e49f6385 Mon Sep 17 00:00:00 2001 From: Thomas Constans Date: Sun, 21 Apr 2019 15:57:57 +0200 Subject: [PATCH] typo --- eval.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eval.sh b/eval.sh index 85271c1..0738bd5 100644 --- a/eval.sh +++ b/eval.sh @@ -1,10 +1,11 @@ #! /bin/bash services="httpd rh-php72-php-fpm" +access_log=/srv/example.com/logs/access_log yum install tree -y &> /dev/null clear echo -ne "apache package " -rpm -qa|grep -q httpd && echo "1" ||echo 0 +rpm -qa|grep -q "^httpd" && echo "1" ||echo 0 echo echo -ne "php packages " rpm -qa |grep -q "rh-php72-php-fpm" && echo 1 ||echo 0