From 25cee0693a5ee2b3a6f80a2a46c04e0f8f742cbd 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 }