On Sun, 15 Jan 2012 17:10:58 +0100, Holger Levsen <hol...@layer-acht.org> wrote:
> is that old conffile always identical? if so, you could check if that file 
> has 
> that md5sum and if so, just remove it.

Thanks for this trick! I really wondered for a long time how I should do
this!

I have uploaded a new version which should close this bug, with the
following code in preinst:

        IFS=":"
        ucfq -w /etc/smokeping/basepage.html \
                /etc/smokeping/smokemail \
                /etc/smokeping/config.d/Alerts \
                /etc/smokeping/config.d/Presentation \
                /etc/smokeping/config.d/pathnames \
                /etc/smokeping/config.d/Targets \
                /etc/smokeping/config.d/General \
                /etc/smokeping/config.d/Slaves \
                | while read file package exists changed; do
            if [ "$package" = "smokeping" -a "$changed" = "No" ]; then
                rm -f "$file"
            fi

I have tested the upgrade and I do not get prompts anymore, let me know
if it doesn't work for you!

Thanks,

A.

-- 
La destruction de la société totalitaire marchande n'est pas une affaire
d'opinion. Elle est une nécessité absolue dans un monde que l'on sait
condamné. Puisque le pouvoir est partout, c'est partout et tout le temps
qu'il faut le combattre. - Jean-François Brient, de la servitude moderne

Attachment: pgpHI6E3CaUOR.pgp
Description: PGP signature

Reply via email to