pre_remove() {
    systemctl disable --now cockpit-pacman-scheduled.timer >/dev/null 2>&1 || true
}

post_remove() {
    rm -rf /etc/systemd/system/cockpit-pacman-scheduled.timer.d
}
