X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=autoscripts%2Fpostinst-xfonts;h=96390e4e04ea162dc8fee6b20b89d11db38cede8;hb=e2a6d4cec4a7ee952cf6a7f250d80f1d75a38f95;hp=af02e1248c16cae9048f498119544c1583e3a494;hpb=fc94604df8b0551ed52d78f735a65d1f3924ed71;p=debhelper.git diff --git a/autoscripts/postinst-xfonts b/autoscripts/postinst-xfonts index af02e12..96390e4 100644 --- a/autoscripts/postinst-xfonts +++ b/autoscripts/postinst-xfonts @@ -1,19 +1,3 @@ -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#" - - for dir in $fontdirs; do - for currentcmd in $updatecmds; do - $currentcmd /usr/lib/X11/fonts/$dir - done - done +if which update-fonts-dir >/dev/null 2>&1; then + #CMDS# fi