From 4e1f22fa84b7375a57ff62d5568864ecacc5e403 Mon Sep 17 00:00:00 2001 From: Joel Date: Sat, 23 Jan 2021 19:05:02 +0100 Subject: [PATCH] now overwriting nginx conf if it already exists --- postinstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postinstall.sh b/postinstall.sh index a01cfda..e7547c7 100644 --- a/postinstall.sh +++ b/postinstall.sh @@ -35,7 +35,7 @@ sudo /etc/init.d/nginx start echo ' }' echo ' }' echo '}' -} >> /etc/nginx/nginx.conf +} >| /etc/nginx/nginx.conf echo "Starting pigpiod daemon"