[mutt] 04/04: Remove preinst code for an obsolete conffile

Faidon Liambotis paravoid at moszumanska.debian.org
Tue Jul 5 10:15:33 UTC 2016


This is an automated email from the git hooks/post-receive script.

paravoid pushed a commit to branch experimental
in repository mutt.

commit 5d08ef61958f51f7f0d2257a12485bec39bba53e
Author: Faidon Liambotis <paravoid at debian.org>
Date:   Tue Jul 5 13:14:25 2016 +0300

    Remove preinst code for an obsolete conffile
    
    1.5.19-2 is pre-wheezy.
---
 debian/changelog    |  4 +++-
 debian/mutt.preinst | 17 -----------------
 2 files changed, 3 insertions(+), 18 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index da2fa61..c2e21dd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -24,6 +24,8 @@ mutt (1.6.1-2) experimental; urgency=medium
     available there too.
   * Remove postinst code that handles migrations from pre-1.5.20-9 versions,
     as it's too old (even wheezy shipped with 1.5.21-6.2).
+  * Remove preinst code that handles an obsolete conffile from pre-1.5.19-2
+    versions, for the same reasons.
   * Remove Conflicts/Replaces mutt-utf8, it was last shipped with version
     1.5.5.1-20040105+1, released over 12 years ago.
   * Remove quilt.mk and manual quilt invocations. Rely on the native 3.0
@@ -37,7 +39,7 @@ mutt (1.6.1-2) experimental; urgency=medium
     maintainers for the period they were maintainers etc.
   * Add myself to Uploaders.
 
- -- Faidon Liambotis <paravoid at debian.org>  Mon, 04 Jul 2016 18:41:47 +0200
+ -- Faidon Liambotis <paravoid at debian.org>  Tue, 05 Jul 2016 13:13:01 +0300
 
 mutt (1.6.1-1) experimental; urgency=medium
 
diff --git a/debian/mutt.preinst b/debian/mutt.preinst
deleted file mode 100644
index 91a69a6..0000000
--- a/debian/mutt.preinst
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" lt "1.5.19-2" ; then
-	MD5SUM=$(md5sum /etc/Muttrc.d/smime-paths.rc | cut -d ' ' -f 1)
-	if [ "$MD5SUM" = "185414b78b332a662500719a179778c5" ] ; then
-		echo "Removing obsolete config file /etc/Muttrc.d/smime-paths.rc"
-		rm /etc/Muttrc.d/smime-paths.rc
-	else
-		echo "Not removing modified obsolete config file /etc/Muttrc.d/smime-paths.rc"
-	fi
-fi
-
-#DEBHELPER#
-
-exit 0

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mutt/mutt.git



More information about the pkg-mutt-commits mailing list