commit 0bddef71fcc3240cb063ea82af0b1f3d9606e8a5
Author: Jan Palus <[email protected]>
Date:   Wed Jan 5 12:38:41 2022 +0100

    use template variable for update helper path in %systemd_reload

 rpm-macros.patch | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/rpm-macros.patch b/rpm-macros.patch
index 8c69dfc..2a820bc 100644
--- a/rpm-macros.patch
+++ b/rpm-macros.patch
@@ -62,8 +62,8 @@
 +
 +# PLD macros
 +%systemd_reload() \
-+      [ -x "/lib/systemd/systemd-update-helper" ] && \
-+              /lib/systemd/systemd-update-helper system-reload || : \
++      [ -x "{{SYSTEMD_UPDATE_HELPER_PATH}}" ] && \
++              {{SYSTEMD_UPDATE_HELPER_PATH}} system-reload || : \
 +%{nil}
 +
 +%systemd_service_enable %systemd_post
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/systemd.git/commitdiff/52d33ac0e2d1152bfe8b56f371f6b136169cb86e

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to