]> git.llucax.com Git - software/mutt-debian.git/blob - debian/mutt.preinst
restoring debian/ for master
[software/mutt-debian.git] / debian / mutt.preinst
1 #!/bin/sh
2
3 if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" lt "1.5.19-2" ; then
4         MD5SUM=$(md5sum /etc/Muttrc.d/smime-paths.rc | cut -d ' ' -f 1)
5         if [ "$MD5SUM" = "185414b78b332a662500719a179778c5" ] ; then
6                 echo "Removing obsolete config file /etc/Muttrc.d/smime-paths.rc"
7                 rm /etc/Muttrc.d/smime-paths.rc
8         else
9                 echo "Not removing modified obsolete config file /etc/Muttrc.d/smime-paths.rc"
10         fi
11 fi
12
13 #DEBHELPER#
14
15 exit 0