1 2 3 4 5 6
post_upgrade() { if [[ $(vercmp $2 1.2) -lt 0 ]]; then echo "Service was moved, please enable it again:" echo "systemctl enable spacenavd.service" fi }