From f7f99afdd17c454edf4702711857107b0bf51536 Mon Sep 17 00:00:00 2001 From: pvincent Date: Thu, 3 Feb 2022 17:42:31 +0400 Subject: [PATCH] prefix default value --- lib/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/functions.sh b/lib/functions.sh index b70c4e4..fe026d3 100644 --- a/lib/functions.sh +++ b/lib/functions.sh @@ -4,7 +4,7 @@ function idem_apt_install() { 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!" + $VERBOSE && echo "${PREFIX:=}apt package <$i> already installed!" fi done }