mirror of https://github.com/Icinga/icinga2.git
Enforce /usr/lib as base for the cgi path on SUSE distributions
The cgi path on SUSE distributions is always located under /usr/lib/icinga/cgi, even on x86_64 systems. So the path in the icinga-classic-apache.conf needs to be adapted on those distributions. fixes #6917
This commit is contained in:
parent
6d968769aa
commit
96e23aa1c7
|
@ -216,6 +216,7 @@ CMAKE_OPTS="$CMAKE_OPTS -DBOOST_LIBRARYDIR=/usr/lib/boost141 \
|
|||
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_PLUGINDIR=%{_libdir}/nagios/plugins"
|
||||
%else
|
||||
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_PLUGINDIR=%{_prefix}/lib/nagios/plugins"
|
||||
sed -i "s|@CMAKE_INSTALL_FULL_LIBDIR@|/usr/lib|" etc/icinga/icinga-classic-apache.conf.cmake
|
||||
%endif
|
||||
|
||||
%if 0%{?use_systemd}
|
||||
|
|
Loading…
Reference in New Issue