]> git.donarmstrong.com Git - debhelper.git/blob - autoscripts/postinst-xfonts
r487: * dh_movefiles: Typo, Closes: #106532
[debhelper.git] / autoscripts / postinst-xfonts
1 makefontdir() {
2     ENCDIR=/usr/lib/X11/fonts/encodings
3     if [ -d $ENCDIR -a -d $ENCDIR/large ]; then
4         /usr/bin/X11/mkfontdir -e $ENCDIR -e $ENCDIR/large "$@"
5     else
6         /usr/bin/X11/mkfontdir "$@"
7     fi
8 }
9
10 if [ "$1" = "configure" ]; then
11         fontdirs="#FONTDIRS#"
12         updatecmds="#UPDATECMDS#"
13         
14         for dir in $fontdirs; do
15                 for currentcmd in $updatecmds; do
16                         $currentcmd /usr/lib/X11/fonts/$dir
17                 done
18         done
19 fi