From dd892f7303f2f418d691ebf3ccb37d3afa90ef3a Mon Sep 17 00:00:00 2001 From: myvesta <38690722+myvesta@users.noreply.github.com> Date: Sat, 15 Aug 2020 22:40:03 +0200 Subject: [PATCH] Deleting accidentally created W3TC.json in root folder of project --- src/deb/vesta/postinst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/deb/vesta/postinst b/src/deb/vesta/postinst index 31230ceb0..267dd688e 100755 --- a/src/deb/vesta/postinst +++ b/src/deb/vesta/postinst @@ -174,6 +174,11 @@ if [ ! -f "/usr/local/vesta/data/upgrades/clearing-letsencrypt-pipe" ]; then fi fi +# Deleting accidentally created W3TC.json in root folder of project +if [ -f "/usr/local/vesta/W3TC.json" ]; then + rm /usr/local/vesta/W3TC.json +fi + # Run custom triggers if [ -x "/root/vesta-patch.sh" ]; then /root/vesta-patch.sh