From 8712ebe312c230fa139e5659e7c4331f9eb4fe98 Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Sat, 24 Aug 2019 13:14:57 +0200 Subject: [PATCH] remove verbose from is_this_installed it can be confusing --- lib.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib.sh b/lib.sh index f798953c..44973d4b 100644 --- a/lib.sh +++ b/lib.sh @@ -577,13 +577,10 @@ fi # Check if program is installed (is_this_installed apache2) is_this_installed() { -print_text_in_color "$ICyan" "Checking if ${1} is installed..." if dpkg-query -W -f='${Status}' "${1}" | grep -q "ok installed" then - print_text_in_color "$IGreen" "${1} is installed." return 0 else - print_text_in_color "$ICyan" "${1} is not installed." return 1 fi }