Package: release.debian.org Severity: normal Tags: stretch User: release.debian....@packages.debian.org Usertags: pu
Let's fix one of the last piuparts failures in stretch by inverting the logic in the dpkg hook s.t. it exits successfully (while doing nothing) after the package was removed. This is the minimal change taken from sid. The new package passes piuparts :-) Andreas
diff -Nru systraq-20160803/debian/20systraq systraq-20160803/debian/20systraq --- systraq-20160803/debian/20systraq 2016-03-10 20:03:02.000000000 +0100 +++ systraq-20160803/debian/20systraq 2018-10-20 21:27:59.000000000 +0200 @@ -1,2 +1,2 @@ # /etc/apt/apt.conf.d/20systraq - update systraq's list of monitored files -DPkg::Post-Invoke { "test -f /etc/systraq/Makefile && command -v make >/dev/null && su -s /bin/sh -c 'make -s -C /etc/systraq' debian-systraq"; }; +DPkg::Post-Invoke { "test ! -f /etc/systraq/Makefile || ! command -v make >/dev/null || su -s /bin/sh -c 'make -s -C /etc/systraq' debian-systraq"; }; diff -Nru systraq-20160803/debian/changelog systraq-20160803/debian/changelog --- systraq-20160803/debian/changelog 2016-08-03 19:45:54.000000000 +0200 +++ systraq-20160803/debian/changelog 2018-10-20 21:27:59.000000000 +0200 @@ -1,3 +1,11 @@ +systraq (20160803-1+deb9u1) stretch; urgency=medium + + * Non-maintainer upload. + * debian/20systraq: Invert logic in order to exit successfully in case + /e/s/Makefile is missing. (Closes: #867277) + + -- Andreas Beckmann <a...@debian.org> Sat, 20 Oct 2018 21:27:59 +0200 + systraq (20160803-1) unstable; urgency=medium * New upstream release: The Pidjiguiti Release.