X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=debian%2Fconfig;h=53536b2f11f87fa024f3b84021c1a558907180c3;hb=242907dcb6220a23b620f3314e96581b5b472a0d;hp=05bb732aa9afdb3e1a8a663c59c89d1ac793dea7;hpb=c6f9aac99da7e21fb3d717fe82f80382361a5dff;p=pkg%2Fabook.git diff --git a/debian/config b/debian/config index 05bb732..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" ] && [ -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