From f1b3c7f48eeb357d034b1879ddec9fccd7482d73 Mon Sep 17 00:00:00 2001 From: Steve Price Date: Sun, 30 Apr 2000 19:19:27 +0000 Subject: Check for Fontmap.GS first and use is instead of Fontmap, if it is present. PR: 17979 Submitted by: maintainer --- russian/koi8r-ps/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/russian/koi8r-ps/Makefile b/russian/koi8r-ps/Makefile index 099da7aac077..89285fd01423 100644 --- a/russian/koi8r-ps/Makefile +++ b/russian/koi8r-ps/Makefile @@ -23,10 +23,11 @@ DIST_SUBDIR= koi8r-ps FONTMAP!= if which gs > /dev/null 2>&1 ; then \ d=`gs -h | awk '/^Search path:$$/ { nl=1; next } \ nl { print $$3; exit }'`; \ - if [ -e $$d/Fontmap ] ; then \ - ${ECHO} $$d/Fontmap; \ + if [ -e $$d/Fontmap.GS ] ; then \ + ${ECHO} $$d/Fontmap.GS; \ + elif [ -e $$d/Fontmap ] ; then \ + ${ECHO} $$d/Fontmap \ else \ - logger $$d/Fontmap; \ ${ECHO} /nicht/ ; \ fi; \ else \ -- cgit v1.2.3