alarm/kodi-rpi-git: remove post_upgrade

This commit is contained in:
graysky 2021-07-22 10:29:33 -04:00
parent 45075f6998
commit ed1f6a12cc

View file

@ -22,19 +22,6 @@ post_install() {
fi
}
post_upgrade() {
post_install
# version 19.0-7 moves kodi.service to user.slice so warn users about data loss
if (($(vercmp 19.0-7 $2) > 0)); then
cat <<END
>>> kodi.service now runs in systemd's user.slice, see man kodi.service for
important info on how to reboot or shutdown the system to avoid data loss!
END
fi
}
post_remove() {
echo "==> Optionally remove /var/lib/kodi/"
}