File: doc.postinst

package info (click to toggle)
zsh-beta 4.1.0-dev-4-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 10,064 kB
  • ctags: 6,159
  • sloc: ansic: 73,617; sh: 4,600; makefile: 630; perl: 623; awk: 293; sed: 16
file content (28 lines) | stat: -rw-r--r-- 655 bytes parent folder | download
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
#!/bin/sh -e

case "$1" in
    configure)
	# continue below
    ;;

    abort-upgrade|abort-remove|abort-deconfigure)
	exit 0
    ;;

    *)
	echo "postinst called with unknown argument \`$1'" >&2
	exit 0
    ;;
esac

install-info --section Shells Shells --quiet --menuentry=ZSH-Beta \
             --description="The Z Shell Manual (beta)." \
	     /usr/share/info/zsh-beta.info.gz

if test -x /usr/sbin/install-docs ; then install-docs -i /usr/share/doc-base/zsh-beta ; fi

if [ -d /usr/doc -a ! -e /usr/doc/zsh-beta-doc -a -d /usr/share/doc/zsh-beta-doc ]; then
                ln -sf ../share/doc/zsh-beta-doc /usr/doc/zsh-beta-doc
        fi

exit 0