From 3c3bc981ee864b704a01335af5fad3c857cf89b7 Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Thu, 21 Dec 2017 15:44:39 +0200 Subject: [PATCH] removed post install routine for softaculous --- src/deb/softaculous/postinst | 11 ----------- src/rpm/specs/vesta-softaculous.spec | 11 ----------- 2 files changed, 22 deletions(-) delete mode 100755 src/deb/softaculous/postinst 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)