Followup-For: Bug #867277 I just filed a stretch-pu request to finally fix this issue in stretch, too: https://bugs.debian.org/911494 I'll take care of the upload.
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.