From bc97f470c79be251090e91d5c471004b7937a43b Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 27 Jul 2023 12:42:51 +0200 Subject: aur: 2.3.2-2 --- linux-status.install | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'linux-status.install') diff --git a/linux-status.install b/linux-status.install index 32b9a90..7d4e216 100644 --- a/linux-status.install +++ b/linux-status.install @@ -1,12 +1,14 @@ +pkgname=linux-status + post_install() { systemctl --system daemon-reload - systemctl --system enable linux-status - systemctl --system start linux-status + systemctl --system enable "$pkgname.service" + systemctl --system start "$pkgname.service" } pre_remove() { - systemctl --system stop linux-status.service - systemctl --system disable linux-status.service + systemctl --system stop "$pkgname.service" + systemctl --system disable "$pkgname.service" systemctl --system daemon-reload } -- cgit v1.2.3