Package: release.debian.org Severity: normal User: release.debian....@packages.debian.org Usertags: unblock
Please unblock package python-schedutils Clean up obsolete alternatives on upgrades form buster. unblock python-schedutils/0.6-2.1
diff -Nru python-schedutils-0.6/debian/changelog python-schedutils-0.6/debian/changelog --- python-schedutils-0.6/debian/changelog 2019-07-29 19:30:20.000000000 +0200 +++ python-schedutils-0.6/debian/changelog 2021-05-04 11:13:44.000000000 +0200 @@ -1,3 +1,10 @@ +python-schedutils (0.6-2.1) unstable; urgency=medium + + * Non-maintainer upload. + * Clean up obsolete alternatives on upgrades. (Closes: #986813) + + -- Andreas Beckmann <a...@debian.org> Tue, 04 May 2021 11:13:44 +0200 + python-schedutils (0.6-2) unstable; urgency=medium [ Ondřej Nový ] diff -Nru python-schedutils-0.6/debian/python3-schedutils.preinst python-schedutils-0.6/debian/python3-schedutils.preinst --- python-schedutils-0.6/debian/python3-schedutils.preinst 1970-01-01 01:00:00.000000000 +0100 +++ python-schedutils-0.6/debian/python3-schedutils.preinst 2021-05-04 11:13:22.000000000 +0200 @@ -0,0 +1,9 @@ +#!/bin/sh +set -e + +if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" lt-nl "0.6-2.0" ; then + update-alternatives --remove pchrt /usr/bin/pchrt3 + update-alternatives --remove ptaskset /usr/bin/ptaskset3 +fi + +#DEBHELPER#