File: postinst

package info (click to toggle)
efingerd 1.3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 180 kB
  • ctags: 36
  • sloc: sh: 297; ansic: 278; makefile: 62
file content (14 lines) | stat: -rw-r--r-- 490 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /bin/sh
# pre install script for the Debian GNU/Linux efingerd package

set -e
update-inetd --disable --comment-chars '#<efingerd># ' finger
update-inetd --group INFO --add 'finger		stream	tcp	nowait	nobody	/usr/sbin/tcpd	/usr/sbin/efingerd'

# Automatically added by dh_installdocs
if [ "$1" = "configure" ]; then
	if [ -d /usr/doc -a ! -e /usr/doc/efingerd -a -d /usr/share/doc/efingerd ]; then
		ln -sf ../share/doc/efingerd /usr/doc/efingerd
	fi
fi
# End automatically added section