diff --git a/lib/functions.sh b/lib/functions.sh index 1e37fc7..b70c4e4 100644 --- a/lib/functions.sh +++ b/lib/functions.sh @@ -3,6 +3,8 @@ function idem_apt_install() { for i in $@; do if ! (/usr/bin/dpkg-query --status "$i" >/dev/null 2>&1); then sudo apt install -y "$i" + else + $VERBOSE && echo "$PREFIX apt package <$i> already installed!" fi done }