From 9fcc5f5d467bc58ceb96eb8709a0d41b83c7118d Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Fri, 29 Dec 2023 16:45:57 +0100 Subject: [PATCH] apt-get update before installing --- forgejo-dependencies.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/forgejo-dependencies.sh b/forgejo-dependencies.sh index 63b87f4..cc4b1af 100755 --- a/forgejo-dependencies.sh +++ b/forgejo-dependencies.sh @@ -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 }