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 }