File: postinst

package info (click to toggle)
autopilot 1.21-1
  • links: PTS
  • area: main
  • in suites: sarge, woody
  • size: 84 kB
  • ctags: 23
  • sloc: ansic: 88; makefile: 59; sh: 12
file content (9 lines) | stat: -rw-r--r-- 216 bytes parent folder | download
1
2
3
4
5
6
7
8
9
#!/bin/sh -e

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