ensure curl and wget are installed

This commit is contained in:
2025-11-03 14:05:57 +01:00
parent 594cc884a0
commit d7540f043d

View File

@@ -159,6 +159,11 @@ if [[ -n "$hostcheck" ]]; then
exit 1 exit 1
fi 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 # Check for the latest Gitea version
# #