From a9a7ce9bad5e9b6034602ca10af8955534b050a1 Mon Sep 17 00:00:00 2001 From: eSh Date: Sun, 18 Sep 2022 16:43:08 +0200 Subject: [PATCH] add restart message --- fixes-package.install | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fixes-package.install b/fixes-package.install index be3d745..5bd1f91 100644 --- a/fixes-package.install +++ b/fixes-package.install @@ -2,12 +2,14 @@ post_install() { systemctl --global daemon-reload find /usr/lib/systemd/user/ -name "fix-*.timer" -type f -printf "%f\0" | xargs -0 systemctl --global enable find /usr/lib/systemd/user/ -name "fix-*.timer" -type f -printf "%f\0" | xargs -0 systemctl --global start + echo "A restart is required for the changes to take effect" } post_upgrade() { systemctl --global daemon-reload find /usr/lib/systemd/user/ -name "fix-*.timer" -type f -printf "%f\0" | xargs -0 systemctl --global enable find /usr/lib/systemd/user/ -name "fix-*.timer" -type f -printf "%f\0" | xargs -0 systemctl --global restart + echo "A restart is required for the changes to take effect" } pre_remove() { @@ -17,4 +19,5 @@ pre_remove() { post_remove() { systemctl --global daemon-reload + echo "A restart is required for the changes to take effect" }