diff --git a/src/deb/softaculous/postinst b/src/deb/softaculous/postinst deleted file mode 100755 index 678413e93..000000000 --- a/src/deb/softaculous/postinst +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -if [ -e /usr/local/vesta/softaculous/vesta_install.inc ]; then - if [ ! -e /usr/local/vesta/softaculous/conf/count.json ]; then - cd /usr/local/vesta/softaculous - /usr/local/vesta/php/bin/php vesta_install.inc - rm vesta_install.inc - fi -fi - -exit 0 diff --git a/src/rpm/specs/vesta-softaculous.spec b/src/rpm/specs/vesta-softaculous.spec index 939fa8222..428d352b0 100644 --- a/src/rpm/specs/vesta-softaculous.spec +++ b/src/rpm/specs/vesta-softaculous.spec @@ -28,17 +28,6 @@ install -d %{buildroot}%{_vestadir} %clean rm -rf %{buildroot} -%post -if [ $1 -ge 1 ]; then - if [ -e /usr/local/vesta/softaculous/vesta_install.inc ]; then - if [ ! -e /usr/local/vesta/softaculous/conf/count.json ]; then - cd /usr/local/vesta/softaculous - /usr/local/vesta/php/bin/php vesta_install.inc - rm vesta_install.inc - fi - fi -fi - %files %defattr(-,root,root)