Quoting Norbert Preining (prein...@logic.at):

> > That's indeed why, IIRC, I didn't use defoma-app in the proposed patch...
> 
> Now, but up to 0.3.4-3 there was a call to dh_installdefoma.

Ah. I didn't went through the package history..:-)

> 
> So history:
> up to 0.3.4-3:        dh_installdefoma called
> 0.3.4-4: dh_installdefoma call removed, rm_conffile /e/defoma/hints/... 
> called.
> 
> I am not sure now what has do be done? Do we still call something
> to completely clean defoma? Does the call
>       dpkg-maintscript-helper rm_conffile 
> /etc/defoma/hints/cm-super-x11.hints 0.3.4-3 -- "$@"
> suffice for what has to be done?


Something like this in postinst would be good:

if dpkg --compare-versions "$2" lt 0.3.4-4; then
        if [ -x "which defoma-app 2>/dev/null" ]; then
                defoma-app purge cm-super-x11
        fi
fi


Paul (Wise), you often have good advices and often correct me on these
things, so please confirm!


Attachment: signature.asc
Description: Digital signature

Reply via email to