#!/bin/sh if [ "$1" = "configure" ]; then update-fonts-dir @fontdir@ update-fonts-alias @fontdir@ xset fp rehash >/dev/null 2>&1 if [ ! $? ]; then # Rehashing succeeded; no need to bother the user. : else # Rehashing failed, probably because the user's root # environment has the wrong DISPLAY. echo echo "To complete the installation, run" echo " \$ xset fp rehash" fi fi exit 0