File: postinst

package info (click to toggle)
gsfonts-other 6.0-3.2
  • links: PTS
  • area: non-free
  • in suites: etch, etch-m68k, lenny, squeeze
  • size: 1,668 kB
  • ctags: 5
  • sloc: makefile: 54; sh: 19
file content (14 lines) | stat: -rw-r--r-- 349 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /bin/sh -e

if [ "$1" = configure ]; then
    echo -n "(Re-)registering Postscript fonts..."
    defoma-font -q reregister-all /etc/defoma/hints/gsfonts-other.hints
    echo done
fi

if [ "$1" = "configure" ]; then
	if [ -d /usr/doc -a ! -h /usr/doc/gsfonts-other -a -d /usr/share/doc/gsfonts-other ]; then
		rm -f /usr/doc/gsfonts-other
	fi
fi