#!/bin/sh PATH=/bin:/usr/bin:/sbin:/usr/sbin:%%PREFIX%%/bin export PATH if [ "$2" = "POST-INSTALL" ]; then echo "Running fc-cache to build fontconfig cache..." fc-cache -f -v elif [ "$2" = "DEINSTALL" ]; then find %%PREFIX%%/lib/X11/fonts/ -name fonts.cache-1 -delete fi