modern torque tries to help install the old initscripts. flush em.

This commit is contained in:
Tom spot Callaway 2021-02-01 10:23:13 -05:00
parent 9afeefe71b
commit 7113bca91b

View File

@ -446,6 +446,9 @@ install -p -m 644 %{SOURCE20} %{buildroot}%{_unitdir}/
install -p -m 644 %{SOURCE21} %{buildroot}%{_unitdir}/
install -p -m 644 %{SOURCE22} %{buildroot}%{_unitdir}/
install -p -m 644 %{SOURCE23} %{buildroot}%{_unitdir}/
# modern torque tries to help install the old initscripts. flush em.
rm -rf %{buildroot}%{_sysconfdir}/init.d
%else
# install initscripts
mkdir -p %{buildroot}%{_initrddir}