Subversion Repositories

?revision_form?Rev ?revision_input??revision_submit??revision_endform?

Rev 9 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9 Rev 15
1
#!/bin/sh
1
#!/bin/sh
2
# post removal script for the Debian GNU/Linux oidentd package
2
# post removal script for the Debian GNU/Linux oidentd package
3
3
4
set -e
4
set -e
5
5
6
if which update-inetd > /dev/null; then
6
if which update-inetd > /dev/null; then
7
	if which identd > /dev/null; then
7
	if which identd > /dev/null; then
8
		update-inetd --add "ident		stream	tcp	nowait	nobody	/usr/sbin/identd identd -i"
8
		update-inetd --add "ident		stream	tcp	nowait	nobody	/usr/sbin/identd identd -i"
9
	fi
9
	fi
10
fi
10
fi
11
11
12
if [ "$1" = purge ]; then
12
if [ "$1" = purge ]; then
13
	if which deluser > /dev/null; then
13
	if which deluser > /dev/null; then
14
		deluser --system --quiet oident
14
		deluser --system --quiet oident
15
	fi
15
	fi
16
fi
16
fi
17
17
18
#DEBHELPER#
18
#DEBHELPER#