Browse Source

VERBOSE PREFIX

master
pvincent 3 years ago
parent
commit
1d89906f33
  1. 2
      lib/functions.sh

2
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
}

Loading…
Cancel
Save