From 63f65a02b4d37b136a5689e551748b8045345f26 Mon Sep 17 00:00:00 2001 From: th33xitus <> Date: Sat, 22 Aug 2020 18:23:41 +0200 Subject: [PATCH] fix: a more verbose dependency check message --- scripts/functions.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/functions.sh b/scripts/functions.sh index adf1ef3..1fe7a6e 100755 --- a/scripts/functions.sh +++ b/scripts/functions.sh @@ -86,10 +86,11 @@ restart_nginx(){ } dependency_check(){ - status_msg "Checking for dependencies ..." + status_msg "Checking for the following dependencies:" #check if package is installed, if not write name into array for pkg in "${dep[@]}" do + echo -e "${cyan}● $pkg ${default}" if [[ ! $(dpkg-query -f'${Status}' --show $pkg 2>/dev/null) = *\ installed ]]; then inst+=($pkg) fi