[go: up one dir, main page]

File: postinst

package info (click to toggle)
a2ps 4.13b-16woody1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 9,992 kB
  • ctags: 4,762
  • sloc: ansic: 31,146; sh: 10,780; lex: 2,283; perl: 1,471; yacc: 757; makefile: 702; lisp: 399; ada: 263; objc: 189; java: 151; f90: 109; pascal: 109; sed: 107; ml: 85; sql: 74; modula3: 33; haskell: 32; python: 24
file content (32 lines) | stat: -rw-r--r-- 742 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#! /bin/sh
#
# This is the postinst script for the Debian GNU/Linux a2ps package
#
# Written by Dirk Eddelbuettel <edd@debian.org>   

set -e 

#DEBHELPER#

case "$1" in
    configure)
	#
	# start with install info
	install-info --quiet --section "General commands" "General commands:" \
		    --description="The GNU a2ps 'anything to postscript' converter and pretty-printer" \
		    /usr/share/info/a2ps.info

	install-info --quiet --section "General commands" "General commands:" \
		    --description="Adds composite characters to fonts and converts ps output"\
		    /usr/share/info/ogonkify.info

	;;
    abort-upgrade|abort-remove|abort-deconfigure)
	;;
    *)
	echo "postinst called with unknown argument \`$1'" >&2
	;;
esac

exit 0