File: postinst

package info (click to toggle)
ttf-alee 4.5
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,304 kB
  • sloc: makefile: 36; sh: 7
file content (11 lines) | stat: -rw-r--r-- 275 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

#DEBHELPER#

if [ "$1" = configure -a -x /usr/bin/fc-cache ]; then
	echo -n "Regenerating fonts cache... "
	HOME=/root fc-cache -v 1>/var/log/fontconfig.log 2>&1 || \
	(echo "failed; see /var/log/fontconfig.log for more information."; \
	 exit 1)
	echo "done."
fi