From 687315205e2251432566e5d438d57a513760ec54 Mon Sep 17 00:00:00 2001 From: Tharre Date: Fri, 31 May 2019 05:21:53 +0200 Subject: arch-system: fix .install and run it Before, base-system.install wasn't actually run, since it wasn't specified in `install=` in the PKGBUILD anywhere. Also run it both in the post-upgrade and post-install steps. `--global` was removed since it caused errors, it's unclear what exactly it does in the first place, but other official PKGBUILDs did it this way.. --- arch-system/base-system.install | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'arch-system/base-system.install') diff --git a/arch-system/base-system.install b/arch-system/base-system.install index b428aac..371f832 100644 --- a/arch-system/base-system.install +++ b/arch-system/base-system.install @@ -1,10 +1,14 @@ -post_install() { +post_upgrade() { # in case it wasn't already run by glibc locale-gen - systemctl --global enable avahi-daemon.service + systemctl enable --now avahi-daemon.service +} + +post_install() { + post_upgrade } pre_remove() { - systemctl --global disable avahi-daemon.service + systemctl disable avahi-daemon.service } -- cgit v1.2.3-70-g09d2