From ada9a540d777def9898db882564405753c189ab5d7bdfce784a095478e2b7b5e Mon Sep 17 00:00:00 2001 From: Daniel Molkentin Date: Sat, 10 Aug 2019 18:01:43 +0000 Subject: [PATCH] install rcdehydrated only for suse OBS-URL: https://build.opensuse.org/package/show/security:dehydrated/dehydrated?expand=0&rev=48 --- dehydrated.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dehydrated.spec b/dehydrated.spec index 7b0393b..0ea6066 100644 --- a/dehydrated.spec +++ b/dehydrated.spec @@ -277,9 +277,11 @@ diff -urN docs/examples/config %{buildroot}%{_home}/config ||: %{_tmpfilesdir}/%{name}.conf %{_unitdir}/dehydrated.service %{_unitdir}/dehydrated.timer +%if 0%{?suse_version} %{_sbindir}/rcdehydrated +%endif %ghost %attr(700,%{_user},%{_user}) %dir %{_lock_dir} -%else +%else #with systemd %config %{_sysconfdir}/cron.d/dehydrated %attr(700,%{_user},%{_user}) %dir %{_lock_dir} %endif