From 7113bca91b9fcd80943a8da745b86fad1afe802c Mon Sep 17 00:00:00 2001 From: Tom spot Callaway Date: Mon, 1 Feb 2021 10:23:13 -0500 Subject: [PATCH] modern torque tries to help install the old initscripts. flush em. --- torque.spec | 3 +++ 1 file changed, 3 insertions(+) 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}