cat "${_PATH_APTMARK_TAG}" | while read _LINE; do
if [ ! $(echo "${_LINE}" | cut -c1) = "#" ]; then
echo -n "${_LINE} "
- apt-get -y -o Dpkg::Options::="--force-confnew" install "${_LINE}" > /dev/null
+ apt-get -q -y -o Dpkg::Options::="--force-confnew" install "${_LINE}"
fi
done
echo '\n'
# before purging, ensure tagged packages installed
ensure_packages_of_tags $@
echo "Autoremove and purge …"
- apt-get -y --purge autoremove > /dev/null
+ apt-get -q -y --purge autoremove
echo "And now: dist-upgrade …"
- apt-get -y dist-upgrade > /dev/null
+ apt-get -q -y dist-upgrade
}
echo '\nPreparing caddy install.'
PATH_CADDY_REPO='https://dl.cloudsmith.io/public/caddy/stable'
-apt-get -y install curl > /dev/null
+apt-get -q -y install curl
curl -1Lf "${PATH_CADDY_REPO}/gpg.key" | gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg
curl -1Lf "${PATH_CADDY_REPO}/debian.deb.txt" > /etc/apt/sources.list.d/caddy-stable.list