]> git.donarmstrong.com Git - debhelper.git/blobdiff - autoscripts/postinst-xfonts
r455: * Applied a patch from Anton Zinoviev <anton@lml.bas.bg> to pass -e
[debhelper.git] / autoscripts / postinst-xfonts
index ae9996330dc80ac3e889cb8d3c002ec56d9fe530..af02e1248c16cae9048f498119544c1583e3a494 100644 (file)
@@ -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#"