File: postinst

package info (click to toggle)
fbbdoc 1999
  • links: PTS
  • area: main
  • in suites: woody
  • size: 768 kB
  • ctags: 52
  • sloc: makefile: 29; sh: 14
file content (11 lines) | stat: -rw-r--r-- 278 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh -e

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

if command -v install-docs >/dev/null 2>&1; then
  install-docs -i /usr/share/doc-base/fbbdoc
fi