From 756a2b0d27ed4aa28535413fbc48b754126b8509 Mon Sep 17 00:00:00 2001 From: myvesta <38690722+myvesta@users.noreply.github.com> Date: Sun, 30 Aug 2020 02:12:21 +0200 Subject: [PATCH] Deleting renamed command --- src/deb/vesta/postinst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/deb/vesta/postinst b/src/deb/vesta/postinst index 8573c16c1..0ac3a7c0f 100755 --- a/src/deb/vesta/postinst +++ b/src/deb/vesta/postinst @@ -178,6 +178,10 @@ fi if [ -f "/usr/local/vesta/W3TC.json" ]; then rm /usr/local/vesta/W3TC.json fi +# Deleting renamed command +if [ -f "/usr/local/vesta/bin/v-replace-in-file" ]; then + rm /usr/local/vesta/bin/v-replace-in-file +fi # Limit max recipients per email to 15, in order to prevent mass spamming if [ ! -f "/usr/local/vesta/data/upgrades/limit_max_recipients" ]; then