File: postinst

package info (click to toggle)
gnugo-dv 3.1.27-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 6,724 kB
  • ctags: 3,307
  • sloc: ansic: 46,051; perl: 1,303; sh: 710; makefile: 578; tcl: 401; lisp: 193
file content (11 lines) | stat: -rw-r--r-- 396 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh -e

if [ "$1" = configure ]; then
    install-info --quiet \
      --description="The GNU program to play the game of Go." \
      --section "Games" "Games" /usr/share/info/gnugo.info
    if test -x /usr/bin/update-menus; then update-menus; fi
    pkg=gnugo-dv
    if test -d /usr/doc -a ! -e /usr/doc/$pkg -a -d /usr/share/doc/$pkg; then
	ln -sf ../share/doc/$pkg /usr/doc/$pkg; fi
fi