File: postinst

package info (click to toggle)
ftpwatch 1.17
  • links: PTS
  • area: main
  • in suites: woody
  • size: 92 kB
  • ctags: 5
  • sloc: perl: 212; makefile: 46; sh: 19
file content (19 lines) | stat: -rwxr-xr-x 353 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh -e

PACKAGE="ftpwatch"

# Source debconf library.
. /usr/share/debconf/confmodule

db_input high ftpwatch/info || true
db_go


# FSSTND compatible symlinks
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