[med-svn] r7395 - in trunk/packages/circos/trunk/debian: . patches

Charles Plessy plessy at debian.org
Tue Aug 9 21:55:27 UTC 2011


Bonjour Olivier,

Le Tue, Aug 09, 2011 at 07:10:09AM +0000, olivier sallou a écrit :
> 
> Added: trunk/packages/circos/trunk/debian/postinst
> ===================================================================
> --- trunk/packages/circos/trunk/debian/postinst	                        (rev 0)
> +++ trunk/packages/circos/trunk/debian/postinst	2011-08-09 07:10:09 UTC (rev 7395)
> @@ -0,0 +1,23 @@
> +#!/bin/bash
> +
> +set -e
> +
> +case "$1" in
> +    configure)
> +        if [ ! -e /usr/share/circos/fonts/modern ] ; then
> +           ln -s /usr/share/fonts/truetype/cmu /usr/share/circos/fonts/modern
> +        fi
> +    ;;
> +
> +    abort-upgrade|abort-remove|abort-deconfigure)
> +    ;;
> +
> +    *)
> +        echo "postinst called with unknown argument \`$1'" >&2
> +        exit 1
> +    ;;
> +esac
> +
> +
> +#DEBHELPER#

Wouldn't it be simpler and more robust to make fonts.conf point directly at
/usr/share/fonts/truetype/cmu ?  The cmu font will be present by default anyway
as circos depends on fonts-cmu.

Have a nice day,

-- 
Charles



More information about the debian-med-commit mailing list