mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-11-27 08:40:57 -05:00
apt-get update before installing
This commit is contained in:
parent
c14cb08fbf
commit
9fcc5f5d46
1 changed files with 1 additions and 0 deletions
|
@ -16,6 +16,7 @@ function install_docker() {
|
||||||
function install_other() {
|
function install_other() {
|
||||||
local packages="sudo git"
|
local packages="sudo git"
|
||||||
if ! which $packages ; then
|
if ! which $packages ; then
|
||||||
|
apt-get update -qq
|
||||||
apt-get install -y -qq $packages
|
apt-get install -y -qq $packages
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue