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 }