X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=debian%2Fconfig;h=53536b2f11f87fa024f3b84021c1a558907180c3;hb=242907dcb6220a23b620f3314e96581b5b472a0d;hp=c4a0c8ae0d31303f02b56efefc73e97e5186b9b6;hpb=9d82930091c8cce4fc56c6f9e3cf46e68ca0bcb3;p=pkg%2Fabook.git diff --git a/debian/config b/debian/config index c4a0c8a..53536b2 100644 --- a/debian/config +++ b/debian/config @@ -1,5 +1,9 @@ -#!/bin/sh -e +#!/bin/sh # config script for abook +# copyright 2012 by Gerfried Fuchs +# 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" -a -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