apt-get update before installing

This commit is contained in:
Earl Warren 2023-12-29 16:45:57 +01:00
parent c4b783e8cb
commit 25cee0693a
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 0579CB2928A78A00

View file

@ -16,6 +16,7 @@ function install_docker() {
function install_other() {
local packages="sudo git"
if ! which $packages ; then
apt-get update -qq
apt-get install -y -qq $packages
fi
}