check if curl is available

This commit is contained in:
2025-11-02 11:40:32 +00:00
parent 92c6bade15
commit 635f73d052

View File

@@ -63,9 +63,9 @@ clear
inputcheck "$hostname" inputcheck "$hostname"
# #
# Ensure curl, unzip and wget are available # Ensure curl is available
# #
for tool in curl unzip wget; do dpkg -s "$tool" &>/dev/null || apt install -y -qq "$tool" ; done for tool in curl unzip wget; do dpkg -s "$tool" &>/dev/null || apt install -y "$tool" ; done
# #
# Clone nginx-snippets; if nginx-snippets exists then just pull latest changes # Clone nginx-snippets; if nginx-snippets exists then just pull latest changes