File: postinst

package info (click to toggle)
jargon 4.0.0-4
  • links: PTS
  • area: main
  • in suites: potato, sarge, woody
  • size: 1,580 kB
  • ctags: 9
  • sloc: makefile: 51; perl: 17; sh: 12
file content (13 lines) | stat: -rw-r--r-- 428 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh -e

install-info --quiet --section "[Ii]nformation" "Information" \
             --description="The definitive compendium of hacker slang" \
	    /usr/share/info/jargon.info.gz

# Stolen from a file generated by dh_installdocs

if [ "$1" = "configure" ]; then
        if [ -d /usr/doc -a ! -e /usr/doc/jargon -a -d /usr/share/doc/jargon ]; then
                ln -sf ../share/doc/jargon /usr/doc/jargon
        fi
fi