blob: 2ce9fb1c5c859c245f79bcbeb3d3825691280fb2 (
plain) (
tree)
|
|
#!/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
|