File: postinst

package info (click to toggle)
cgilib 0.5-4
  • links: PTS
  • area: main
  • in suites: sarge, woody
  • size: 140 kB
  • ctags: 60
  • sloc: ansic: 652; makefile: 97; sh: 10
file content (9 lines) | stat: -rw-r--r-- 194 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
#! /bin/sh

pkg=cgilib

if [ "$1" = "configure" ]; then
   if [ -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