mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-22 06:14:19 -07:00
removed post install routine for softaculous
This commit is contained in:
parent
42f6ceddc4
commit
3c3bc981ee
2 changed files with 0 additions and 22 deletions
|
@ -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
|
|
|
@ -28,17 +28,6 @@ install -d %{buildroot}%{_vestadir}
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
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
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue