home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
- #
- # @(#)postremove 11.1 10/22/97 15:43:42
- #
- # postremove script for xfonts package
- #
- # --------------------------------------------------------------- #
- INSTDIR=/usr/X
-
- echo "xfonts postremove: rebuilding fonts.dir in misc, 75dpi, 100dpi"
-
- if [ -d $INSTDIR/lib/X11/fonts ]; then {
- cd $INSTDIR/lib/X11/fonts
-
- HERE=`pwd`
- for i in 75dpi 100dpi misc
- do
- if [ -d $i ]; then {
- cd $i
- if [ -f fonts.dir ]; then {
- $INSTDIR/bin/mkfontdir
- } fi
- cd $HERE
- } fi
- done
- } else {
- echo "xfonts postremove: $INSTDIR/lib/X11/fonts does not exist."
- } fi
-
-