aboutsummaryrefslogtreecommitdiffstats
path: root/arch-system/base-system.install
blob: ee56a6e20688224f69cf1a1d535c79419fce5c5d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
post_upgrade() {
	# in case it wasn't already run by glibc
	locale-gen

	systemctl enable --now avahi-daemon.service
	mount | grep -q "on / type btrfs" && systemctl enable --now btrfs-scrub@-.timer
}

post_install() {
	post_upgrade
}

pre_remove() {
	systemctl disable avahi-daemon.service
	systemctl disable btrfs-scrub@-.timer
}