~ubuntu-branches/ubuntu/trusty/ttf-wqy-zenhei/trusty

« back to all changes in this revision

Viewing changes to debian/postinst

  • Committer: Steve Langasek
  • Date: 2012-04-16 21:56:41 UTC
  • Revision ID: steve.langasek@canonical.com-20120416215641-mllwd02fw2iwg6oj
Drop maintainer script; fontconfig is handled by triggers, we don't need
to call it directly and apparently this invocation sometimes fails.
LP: #800958, #894462.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
set -e
3
 
#DEBHELPER#
4
 
 
5
 
if [ "$1" = configure -a -x /usr/bin/fc-cache ]
6
 
then
7
 
       echo -n "Regenerating fonts cache... "
8
 
       HOME=/root fc-cache -f -v 1>/var/log/fontconfig.log 2>&1 || \
9
 
       (echo "failed; see /var/log/fontconfig.log for more information."; \
10
 
        exit 1)
11
 
       echo "done."
12
 
fi