From d7540f043d6f0663c5b5d9489b681dbed3bce4c3 Mon Sep 17 00:00:00 2001 From: allan Date: Mon, 3 Nov 2025 14:05:57 +0100 Subject: [PATCH] ensure curl and wget are installed --- giteainstall | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/giteainstall b/giteainstall index 99ce9aa..097ac93 100755 --- a/giteainstall +++ b/giteainstall @@ -159,6 +159,11 @@ if [[ -n "$hostcheck" ]]; then exit 1 fi +# +# Ensure curl and wget are installed +# +for tool in curl wget; do dpkg -s "$tool" &>/dev/null || apt install -y -qq "$tool" ; done + # # Check for the latest Gitea version #