File: postinst

package info (click to toggle)
ttf-rufscript 010-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 276 kB
  • ctags: 4
  • sloc: sh: 39; makefile: 13
file content (13 lines) | stat: -rw-r--r-- 316 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e

#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