[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



Quoting Josselin Mouette (joss@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..:)


Attachment: signature.asc
Description: Digital signature


Reply to: