From b2fd4140e69d37c7caff4837d617341ea2dc48b9 Mon Sep 17 00:00:00 2001 From: allan Date: Sun, 2 Nov 2025 11:55:15 +0100 Subject: [PATCH] ensure curl and more exist --- dokuwikiinstall | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dokuwikiinstall b/dokuwikiinstall index ce2a525..28fce0f 100755 --- a/dokuwikiinstall +++ b/dokuwikiinstall @@ -56,6 +56,11 @@ clear # inputcheck "$hostname" +# +# Ensure curl, unzip and wget are available +# +for tool in curl unzip wget; do dpkg -s "$tool" &>/dev/null || apt install -y -qq "$tool" ; done + # # Clone nginx-snippets; if nginx-snippets exists then just pull latest changes #