From 65974c980ee0be9a3a5393b2b8a564f1ccadd592 Mon Sep 17 00:00:00 2001
From: Scott Kitterman <scott@kitterman.com>
Date: Fri, 8 Feb 2013 16:34:47 -0500
Subject: [PATCH]   [ Dmitry Shachnev ]   * Revert previous prerm/postrm
 changes:     - prerm is never called as .     - configuration files shouldn't
 be deleted on package remove.

---
 debian/changelog        | 9 +++++++++
 debian/python.postrm.in | 3 ++-
 debian/python.prerm.in  | 3 ++-
 3 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 099e94d..1c83caa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,6 +15,15 @@ python-defaults (2.7.3-10) experimental; urgency=low
 
  -- Matthias Klose <doko@debian.org>  Wed, 12 Dec 2012 00:25:00 +0100
 
+python-defaults (2.7.3-4) unstable; urgency=low
+
+  [ Dmitry Shachnev ]
+  * Revert previous prerm/postrm changes:
+    - prerm is never called as `prerm purge`.
+    - configuration files shouldn't be deleted on package remove.
+
+ -- Scott Kitterman <scott@kitterman.com>  Fri, 08 Feb 2013 16:26:12 -0500
+
 python-defaults (2.7.3-3) unstable; urgency=low
 
   [ Piotr Ożarowski ]
diff --git a/debian/python.postrm.in b/debian/python.postrm.in
index 9941769..0ffa3ce 100644
--- a/debian/python.postrm.in
+++ b/debian/python.postrm.in
@@ -1,7 +1,8 @@
 #! /bin/sh
 set -e
 
-case "$1" in remove|purge)
+case "$1" in
+    purge)
 	rm -rf /etc/python
 esac
 
diff --git a/debian/python.prerm.in b/debian/python.prerm.in
index 04093eb..0218969 100644
--- a/debian/python.prerm.in
+++ b/debian/python.prerm.in
@@ -1,7 +1,8 @@
 #! /bin/sh
 set -e
 
-case "$1" in remove|purge)
+case "$1" in
+    remove)
 	rm -f /usr/share/python/pyversions.py[co]
 esac
 
-- 
GitLab