File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ URL: https://www.softaculous.com
88Vendor: vestacp.com
99Source0: %{name }-%{version }.tar.gz
1010BuildRoot: %{_tmppath }/%{name }-%{version }-%{release }-root-%(%{__id_u} -n)
11- Requires: redhat-release >= 5
11+ Requires: vesta-ioncube
1212Provides: vesta-softaculous
1313
1414%define _vestadir /usr/local /vesta/softaculous
@@ -31,8 +31,11 @@ rm -rf %{buildroot}
3131%post
3232if [ $1 -ge 1 ]; then
3333 if [ -e /usr/local/vesta/softaculous/vesta_install.inc ]; then
34- cd /usr/local/vesta/php/bin/php vesta_install.inc
35- rm vesta_install.inc
34+ if [ ! -e /usr/local/vesta/softaculous/conf/count.json ]; then
35+ cd /usr/local/vesta/softaculous
36+ /usr/local/vesta/php/bin/php vesta_install.inc
37+ rm vesta_install.inc
38+ fi
3639 fi
3740fi
3841
You can’t perform that action at this time.
0 commit comments