removed post install routine for softaculous

This commit is contained in:
Serghey Rodin 2017-12-21 15:44:39 +02:00
commit 3c3bc981ee
2 changed files with 0 additions and 22 deletions

View file

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

View file

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