Followup-For: Bug #984630
Control: tag -1 patch
diff -Nru waitress-1.4.4/debian/changelog waitress-1.4.4/debian/changelog
--- waitress-1.4.4/debian/changelog     2021-01-09 10:16:20.000000000 +0100
+++ waitress-1.4.4/debian/changelog     2021-04-02 15:03:03.000000000 +0200
@@ -1,3 +1,9 @@
+waitress (1.4.4-2) UNRELEASED; urgency=medium
+
+  * Fix cleanup of the waitress-serve alternative.  (Closes: #984630)
+
+ -- Andreas Beckmann <a...@debian.org>  Fri, 02 Apr 2021 15:03:03 +0200
+
 waitress (1.4.4-1) unstable; urgency=medium
 
   [ Andrej Shadura ]
diff -Nru waitress-1.4.4/debian/python3-waitress.preinst 
waitress-1.4.4/debian/python3-waitress.preinst
--- waitress-1.4.4/debian/python3-waitress.preinst      2021-01-09 
10:16:20.000000000 +0100
+++ waitress-1.4.4/debian/python3-waitress.preinst      2021-04-02 
15:03:03.000000000 +0200
@@ -2,7 +2,7 @@
 
 set -e
 
-if [ "$1" = "configure" ]
+if [ "$1" = "upgrade" ]
 then
     if update-alternatives --list waitress-serve >/dev/null 2>&1
     then

Reply via email to