summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-xfonts
diff options
context:
space:
mode:
authorjoey <joey>2001-03-17 05:05:04 +0000
committerjoey <joey>2001-03-17 05:05:04 +0000
commitfc94604df8b0551ed52d78f735a65d1f3924ed71 (patch)
tree9e8c896d02974008b7c093aebf87fec9ee19ca43 /autoscripts/postinst-xfonts
parent8656127b483fdf64336ee97dc440d6c0a4a5a929 (diff)
r455: * Applied a patch from Anton Zinoviev <anton@lml.bas.bg> to pass -e
to mkfontdir. Closes: #89418
Diffstat (limited to 'autoscripts/postinst-xfonts')
-rw-r--r--autoscripts/postinst-xfonts9
1 files changed, 9 insertions, 0 deletions
diff --git a/autoscripts/postinst-xfonts b/autoscripts/postinst-xfonts
index ae99963..af02e12 100644
--- a/autoscripts/postinst-xfonts
+++ b/autoscripts/postinst-xfonts
@@ -1,3 +1,12 @@
+makefontdir() {
+ ENCDIR=/usr/lib/X11/fonts/encodings
+ if [ -d $ENCDIR -a -d $ENCDIR/large ]; then
+ /usr/bin/X11/mkfontdir -e $ENCDIR -e $ENCDIR/large "$@"
+ else
+ /usr/bin/X11/mkfontdir "$@"
+ fi
+}
+
if [ "$1" = "configure" ]; then
fontdirs="#FONTDIRS#"
updatecmds="#UPDATECMDS#"