]> git.pld-linux.org Git - packages/fontpostinst.git/commitdiff
- use th paths, fallback to ac ones
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Tue, 4 Apr 2006 07:36:42 +0000 (07:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    fontpostinst -> 1.13

fontpostinst

index 8a432f4438810b6ac6953c5c30f70b408e6694f4..42b99c8c48776e50542455ef353f7d5d2a694950 100644 (file)
 
 FBASEDIR="/usr/share/fonts"
 
-MKFONTDIRBIN="/usr/X11R6/bin/mkfontdir"
+MKFONTDIRBIN="/usr/bin/mkfontdir"
 MKFONTDIR="$MKFONTDIRBIN"
-MKFONTSCALEBIN="/usr/X11R6/bin/mkfontscale"
+if [ ! -x "$MKFONTDIRBIN" -a -x /usr/X11R6/bin/mkfontdir ]; then
+       MKFONTDIR="/usr/X11R6/bin/mkfontdir"
+fi
+MKFONTSCALEBIN="/usr/bin/mkfontscale"
 MKFONTSCALE="$MKFONTSCALEBIN"
-
+if [ ! -x "$MKFONTSCALEBIN" -a -x /usr/X11R6/bin/mkfontscale ]; then
+       MKFONTSCALEBIN="/usr/X11R6/bin/mkfontscale"
+fi
 MKTTFFONTSCALEBIN="$MKFONTSCALEBIN"
 MKTTFFONTSCALE="$MKTTFFONTSCALEBIN"
 if [ ! -x "$MKFONTSCALEBIN" -a -x /usr/bin/ttmkfdir ]; then
This page took 0.061724 seconds and 4 git commands to generate.