File: postinst

package info (click to toggle)
linux-libertine 2.2.0-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 19,040 kB
  • sloc: makefile: 41; sh: 9
file content (14 lines) | stat: -rw-r--r-- 278 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

#DEBHELPER#

if [ "$1" = configure -a -x /usr/bin/fc-cache ]
then
	echo -n "Regenerating fonts cache... "

	HOME=/root fc-cache -f -v 1>/var/log/fontconfig.log 2>&1 || \
	(echo "failed; see /var/log/fontconfig.log for more information."; \
	exit 1)

	echo "done."
fi