WIP? distro/rpm: attempt to fix fedora upgrade

parent 81d78f8f
......@@ -203,10 +203,12 @@ getent group knot-resolver >/dev/null || groupadd -r knot-resolver
getent passwd knot-resolver >/dev/null || useradd -r -g knot-resolver -d %{_sysconfdir}/knot-resolver -s /sbin/nologin -c "Knot Resolver" knot-resolver
%post
%systemd_post 'kresd@*.service'
%if 0%{?fedora}
# https://fedoraproject.org/wiki/Changes/Removing_ldconfig_scriptlets
systemctl daemon-reload
%systemd_post 'system-kresd.slice'
%else
%systemd_post 'kresd@*.service'
/sbin/ldconfig
%endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment