]> git.donarmstrong.com Git - debhelper.git/blobdiff - autoscripts/postinst-xfonts
cmake: Pass CPPFLAGS in CFLAGS. Closes: #668813 Thanks, Simon Ruderich for the patch...
[debhelper.git] / autoscripts / postinst-xfonts
index af02e1248c16cae9048f498119544c1583e3a494..96390e4e04ea162dc8fee6b20b89d11db38cede8 100644 (file)
@@ -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