We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 286f29b commit 1132a5aCopy full SHA for 1132a5a
1 file changed
src/rpm/specs/vesta-softaculous.spec
@@ -8,7 +8,7 @@ URL: https://www.softaculous.com
8
Vendor: vestacp.com
9
Source0: %{name}-%{version}.tar.gz
10
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
11
-Requires: redhat-release >= 5
+Requires: vesta-ioncube
12
Provides: vesta-softaculous
13
14
%define _vestadir /usr/local/vesta/softaculous
@@ -31,8 +31,11 @@ rm -rf %{buildroot}
31
%post
32
if [ $1 -ge 1 ]; then
33
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
+ if [ ! -e /usr/local/vesta/softaculous/conf/count.json ]; then
+ cd /usr/local/vesta/softaculous
36
+ /usr/local/vesta/php/bin/php vesta_install.inc
37
+ rm vesta_install.inc
38
+ fi
39
fi
40
41
0 commit comments