Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 126994 | Differences between
and this patch

Collapse All | Expand All

(-)any2dvd-0.36_beta-r2.sh (-1 / +1 lines)
Lines 435-441 check_tools () { Link Here
435
435
436
fontpath () {
436
fontpath () {
437
	GS_XML=`convert -list font | grep Path: | grep ghostscript | awk '{print $2}'`
437
	GS_XML=`convert -list font | grep Path: | grep ghostscript | awk '{print $2}'`
438
	if [ ! -f "$GS_XML" ] || [ ! -f "`cat $GS_XML | grep glyphs | tail -n1 | cut -d= -f2 | sed 's/\"//g'`" ]; then
438
	if [ ! -f "$GS_XML" ] || [ ! -f "`cat $GS_XML | grep glyphs | tail -n1 | sed -n 's/^.*glyphs="\([0-9a-zA-Z./]*\)".*$/\1/p'`" ]; then
439
		errmsg Error: "GNU-Ghostscript fonts were not found"
439
		errmsg Error: "GNU-Ghostscript fonts were not found"
440
		echo " Please install GNU-Ghostscript fonts package found here ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/fonts/"
440
		echo " Please install GNU-Ghostscript fonts package found here ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/fonts/"
441
		echo -e "  Then re-install Imagemagick with Ghostscript support\n"
441
		echo -e "  Then re-install Imagemagick with Ghostscript support\n"

Return to bug 126994