diff --git a/usbguard.spec b/usbguard.spec index a367f6b..4eb2f64 100644 --- a/usbguard.spec +++ b/usbguard.spec @@ -151,11 +151,11 @@ find %{buildroot} \( -name '*.la' -o -name '*.a' \) -exec rm -f {} ';' %systemd_preun usbguard.service %post -/sbin/ldconfig +%{?ldconfig} %systemd_post usbguard.service %postun -/sbin/ldconfig +%{?ldconfig} %systemd_postun usbguard.service %files