From cb252595e5d12a40abbacb5ade77c7297b79b456 Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Thu, 21 Feb 2019 21:17:54 +0100 Subject: [PATCH] Update install --- install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install b/install index 61f2699..1fd3dba 100644 --- a/install +++ b/install @@ -301,6 +301,7 @@ function wo_sync_db() # Webp mapping ### if [ ! -f /etc/nginx/conf.d/webp.conf ]; then + mkdir -p /etc/nginx/conf.d echo -e 'map $http_accept $webp_suffix {\n default "";\n "~*webp" ".webp";\n}\n' > /etc/nginx/conf.d/webp.conf fi @@ -719,4 +720,4 @@ else echo wo_lib_echo "Yay! WordOps (wo) installed/updated successfully" wo_lib_echo "WordOps (wo) help: https://wordops.org/docs" -fi \ No newline at end of file +fi