Răsfoiți Sursa

removed post install routine for softaculous

Serghey Rodin 8 ani în urmă
părinte
comite
3c3bc981ee
2 a modificat fișierele cu 0 adăugiri și 22 ștergeri
  1. 0 11
      src/deb/softaculous/postinst
  2. 0 11
      src/rpm/specs/vesta-softaculous.spec

+ 0 - 11
src/deb/softaculous/postinst

@@ -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

+ 0 - 11
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)