diff options
Diffstat (limited to 'autoscripts/postinst-xfonts')
-rw-r--r-- | autoscripts/postinst-xfonts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/autoscripts/postinst-xfonts b/autoscripts/postinst-xfonts index ae999633..af02e124 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#" |