]> git.deb.at Git - pkg/t-prot.git/blobdiff - debian/postinst
Add #DEBHELPER# placeholder to debian/post* files
[pkg/t-prot.git] / debian / postinst
index 9c01cefcd4496fb91441feda0450716276b34821..c46314fc4c551729f3ab0747a14227c4a260040b 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/sh
 # postinst for t-prot
-# Copyright 2002-2010 by Rhonda D'Vine <rhonda@debian.org>
+# Copyright 2002-2016 by Rhonda D'Vine <rhonda@debian.org>
 # Licenced under WTFPLv2
 
 set -e
@@ -21,11 +21,6 @@ if [ "$action" != 'configure' ] && [ "$action" != 'reconfigure' ]; then
        exit 0
 fi
 
-# change existing symlink from ../Muttrc.t-prot to ../t-prot/Mutrc
-if [ "$version" = "2.1-1" ] && [ -L /etc/Muttrc.d/t-prot.rc ]; then
-       cd /etc/Muttrc.d && ln -sf ../t-prot/Muttrc t-prot.rc || true
-fi
-
 # if we got reinstalled after a remove, enable the config snippet again
 if [ "$action" = 'configure' ] && [ -e /etc/Muttrc.d/t-prot.rc.removed ] && [ ! -e /etc/Muttrc.d/t-prot.rc ]; then
        mv /etc/Muttrc.d/t-prot.rc.removed /etc/Muttrc.d/t-prot.rc || true
@@ -52,3 +47,5 @@ if [ "x$version" = "x" ] || [ "$action" = "reconfigure" ]; then
                ;;
        esac
 fi
+
+#DEBHELPER#