[Pkg-fonts-devel] Dropping defoma use in TTF/OTF font packages?

Josselin Mouette joss at debian.org
Sat Nov 28 17:00:28 UTC 2009


Le samedi 28 novembre 2009 à 15:04 +0100, Christian Perrier a écrit : 
> Quoting Josselin Mouette (joss at debian.org):
> 
> > -  if dpkg --compare-versions "$2" le "2.30-2"; then
> > +  if dpkg --compare-versions "$2" lt-nl "2.30-2"; then
> 
> I'm not sure that I see the case where replacing "le" by "lt-nl" would
> make a difference.

First it won’t run the script again when upgrading from 2.30-2 to
something else (that’s the lt part). Second it won’t run the script upon
first installation (that’s the nl part).

> > -	      rm_conffile $PKG $FILE
> >  	  fi
> > +	  rm_conffile $PKG $FILE
> 
> Here also, I don't understand why one would run rm_conffile if $FILE
> is not existing.

Even when the administrator has already removed it from the filesystem,
it still needs to be removed from the dpkg database.

-- 
 .''`.      Josselin Mouette
: :' :
`. `'   “I recommend you to learn English in hope that you in
  `-     future understand things”  -- Jörg Schilling
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: Ceci est une partie de message num?riquement sign?e
URL: <http://lists.alioth.debian.org/pipermail/pkg-fonts-devel/attachments/20091128/b374a4c7/attachment.pgp>


More information about the Pkg-fonts-devel mailing list