iputils-ping
# to set the time
ntpsec-ntpdate
+# generally used in my scripts, so necessary
+calc
#
fi
cat "${_PATH_APTMARK_TAG}" | while read _LINE; do
if [ ! $(echo "${_LINE}" | cut -c1) = "#" ]; then
- apt-get -y -o Dpkg::Options::="--force-confnew" install "${_LINE}"
+ apt-get -y -o Dpkg::Options::="--force-confnew" install "${_LINE}" > /dev/null
fi
done
done
# before purging, ensure tagged packages installed
ensure_packages_of_tags $@
- apt -y --purge autoremove
- apt -y dist-upgrade
+ apt -y --purge autoremove > /dev/null
+ apt -y dist-upgrade > /dev/null
}
echo '\nPreparing caddy install.'
PATH_CADDY_REPO='https://dl.cloudsmith.io/public/caddy/stable'
-apt -y install curl
+apt -y install curl > /dev/null
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" | tee /etc/apt/sources.list.d/caddy-stable.list