aboutsummaryrefslogtreecommitdiffstats
path: root/arch-system/base-system.install
diff options
context:
space:
mode:
Diffstat (limited to 'arch-system/base-system.install')
-rw-r--r--arch-system/base-system.install10
1 files changed, 7 insertions, 3 deletions
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
}