ensure curl is installed

This commit is contained in:
2025-11-03 14:07:46 +01:00
parent f53b3bd04e
commit 0a7701a453

View File

@@ -136,6 +136,11 @@ if [[ "$dbname" =~ [[:space:]] || "$dbuser" =~ [[:space:]] || "$dbpass" =~ [[:sp
exit 1
fi
#
# Ensure curl is installed
#
for tool in curl; do dpkg -s "$tool" &>/dev/null || apt install -y -qq "$tool" ; done
#
# Download, install, and configure the latest WordPress version
#