post_install() {
    if command -v systemctl >/dev/null 2>&1; then
        systemctl enable raveos-gnome-theme-apply.service >/dev/null 2>&1 || true
    fi
    if [[ -x /usr/lib/raveos-gnome-theme/auto-apply.sh ]]; then
        /usr/lib/raveos-gnome-theme/auto-apply.sh || true
    fi
}

post_upgrade() {
    if [[ -x /usr/lib/raveos-gnome-theme/auto-apply.sh ]]; then
        /usr/lib/raveos-gnome-theme/auto-apply.sh || true
    fi
}
