File: postinst

package info (click to toggle)
netkit-ntalk 0.17-13
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 304 kB
  • ctags: 265
  • sloc: ansic: 2,226; makefile: 97; sh: 81
file content (14 lines) | stat: -rw-r--r-- 368 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh -e
# $Id: postinst,v 1.2 2003/09/29 10:15:04 herbert Exp $

if
	[ "$1" != configure ] || [ -z "$2" ] ||
	dpkg --compare-versions "$2" lt 0.16-1
then
	update-alternatives --install /usr/bin/talk talk \
				      /usr/bin/netkit-ntalk 100 \
			    --slave /usr/share/man/man1/talk.1.gz talk.1.gz \
				    /usr/share/man/man1/netkit-ntalk.1.gz
fi

#DEBHELPER#