2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-09-07 10:48:24 +00:00

Fix mistake in spec file

This commit is contained in:
Jarrod Johnson
2018-09-04 14:31:51 -04:00
parent ce18a2a2ba
commit 7e4ce45cef

View File

@@ -191,7 +191,6 @@ cp LICENSE.html $RPM_BUILD_ROOT/%{prefix}/share/doc/packages/xCAT
%post
%ifos linux
#Apply the correct httpd/apache configuration file according to the httpd/apache version
%if %is_rh
if [ -n "$(httpd -v 2>&1 |grep -e '^Server version\s*:.*\/2.4')" ]
then
rm -rf /etc/httpd/conf.d/xcat.conf