]> git.pld-linux.org Git - packages/systemd.git/commitdiff
use template variable for update helper path in %systemd_reload
authorJan Palus <atler@pld-linux.org>
Wed, 5 Jan 2022 11:38:41 +0000 (12:38 +0100)
committerJan Palus <atler@pld-linux.org>
Wed, 5 Jan 2022 11:38:41 +0000 (12:38 +0100)
rpm-macros.patch

index 8c69dfcc8ba20794093bae6115ba0754e4e3aaeb..2a820bcd77ed999b7682369616e32fcf1e74bbba 100644 (file)
@@ -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
This page took 0.354609 seconds and 4 git commands to generate.