mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 05:44:08 -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
|
||||
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue