-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