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:
Tim Hardeck 2014-08-14 16:48:49 +02:00 committed by Gunnar Beutner
parent 6d968769aa
commit 96e23aa1c7
1 changed files with 1 additions and 0 deletions

View File

@ -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}