File: postrm

package info (click to toggle)
oidentd 3.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,324 kB
  • sloc: sh: 4,582; ansic: 4,062; yacc: 477; lex: 341; makefile: 84
file content (18 lines) | stat: -rw-r--r-- 363 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
# post removal script for the Debian GNU/Linux oidentd package

set -e

if which update-inetd > /dev/null; then
	if which identd > /dev/null; then
		update-inetd --add "ident		stream	tcp	nowait	nobody	/usr/sbin/identd identd -i"
	fi
fi

if [ "$1" = purge ]; then
	if which deluser > /dev/null; then
		deluser --system --quiet oident
	fi
fi

#DEBHELPER#