]> git.donarmstrong.com Git - debhelper.git/blobdiff - autoscripts/postinst-xfonts
Typo. Closes: #653339
[debhelper.git] / autoscripts / postinst-xfonts
index ae9996330dc80ac3e889cb8d3c002ec56d9fe530..96390e4e04ea162dc8fee6b20b89d11db38cede8 100644 (file)
@@ -1,10 +1,3 @@
-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