diff --git a/torque.spec b/torque.spec index d4f35a3..a3caf89 100644 --- a/torque.spec +++ b/torque.spec @@ -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}