[Pkg-fonts-devel] Dropping defoma use in TTF/OTF font packages?
Josselin Mouette
joss at debian.org
Thu Jan 7 08:09:32 UTC 2010
Le jeudi 07 janvier 2010 à 02:16 -0500, Daniel Kahn Gillmor a écrit :
> Sorry to resurrect an old thread here, but i'm having trouble making use
> of joss' advice here:
>
> On 11/10/2009 10:38 AM, Josselin Mouette wrote:
> > packages which remove the call to dh_installdefoma need to
> > add something like this in their preinst:
> > if [ "$1" = remove ] && dpkg --compare-versions "$2" lt-nl $VERSION;
> I'm having trouble understanding why the test is checking
>
> [ "$1" = remove ]
>
> instead of
>
> [ "$1" = upgrade ] || [ "$1" = install ]
>
> Isn't this operation relevant on upgrade/install, instead of on removal?
Of course, you are right.
--
.''`. Josselin Mouette
: :' :
`. `' “I recommend you to learn English in hope that you in
`- future understand things” -- Jörg Schilling
More information about the Pkg-fonts-devel
mailing list