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

Christian Perrier bubulle at debian.org
Sat Nov 28 14:04:51 UTC 2009


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.

>        for PKG in ttf-dejavu-core ttf-dejavu-extra ; do
>  	  FILE="/etc/defoma/hints/${PKG}.hints"
>  	  if [ -f $FILE ]; then
>                if [ -x /usr/bin/defoma-font ]; then
>  		  defoma-font purge-all $FILE || true
>  	      fi
> -	      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.

There are certainly subtleties that I don't get..:)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-fonts-devel/attachments/20091128/ab88f2bf/attachment.pgp>


More information about the Pkg-fonts-devel mailing list