mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-25 18:59:04 +02:00
parent
0c01ac9444
commit
054c7b407b
@ -179,6 +179,9 @@ Icinga Web 2 vendor library Zend
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -226,9 +229,6 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{basedir}/application/controllers
|
%{basedir}/application/controllers
|
||||||
@ -249,6 +249,14 @@ rm -rf %{buildroot}
|
|||||||
%{docsdir}
|
%{docsdir}
|
||||||
%docdir %{docsdir}
|
%docdir %{docsdir}
|
||||||
|
|
||||||
|
%post
|
||||||
|
%if 0%{?suse_version}
|
||||||
|
if ! apache2ctl -M 2>/dev/null | grep -q rewrite_module; then
|
||||||
|
a2enmod rewrite >/dev/null
|
||||||
|
fi
|
||||||
|
%endif
|
||||||
|
exit 0
|
||||||
|
|
||||||
|
|
||||||
%pre common
|
%pre common
|
||||||
if ! getent group %{icingaweb_group} >/dev/null; then
|
if ! getent group %{icingaweb_group} >/dev/null; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user