X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=debian%2Fconfig;h=8ff1b728561e66b608788cfc88afdb1835b20815;hb=6468783551d4f284ff81a347cec4e8c49b7e1853;hp=05bb732aa9afdb3e1a8a663c59c89d1ac793dea7;hpb=6254d62ebd44b79316891a4ee45cb67cbe98cba4;p=pkg%2Fabook.git diff --git a/debian/config b/debian/config index 05bb732..8ff1b72 100644 --- a/debian/config +++ b/debian/config @@ -1,5 +1,9 @@ -#!/bin/sh -e +#!/bin/sh # config script for abook +# copyright 2012 by Rhonda D'Vine +# Licenced under WTFPLv2 + +set -e action=$1 version=$2 @@ -7,11 +11,10 @@ version=$2 # Source debconf library. . /usr/share/debconf/confmodule -if [ "$action" = "configure" ] && [ -n "$version" ]; then - if dpkg --compare-versions "$version" lt "0.5.0"; then - db_input medium abook/files_moved || true - db_go - fi -fi +db_unregister abook/files_moved || true + +# create the /etc/Muttrc.d/ snippet? +db_input medium abook/muttrc.d || true +db_go exit 0