1
0
Fork 0
mirror of https://code.forgejo.org/actions/setup-forgejo synced 2024-09-07 20:07:19 +00:00

apt-get update before installing

This commit is contained in:
Earl Warren 2023-12-29 16:45:57 +01:00
parent c14cb08fbf
commit 9fcc5f5d46
No known key found for this signature in database
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
}