diff --git a/src/deb/vesta/postinst b/src/deb/vesta/postinst index 31230ceb..267dd688 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