File: postrm

package info (click to toggle)
popa3d 1.0.3-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 480 kB
  • sloc: ansic: 2,334; sh: 106; makefile: 61
file content (18 lines) | stat: -rw-r--r-- 326 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
# post-removal script for popa3d

set -e

if [ "$1" = "purge" ]; then
	if which update-inetd >/dev/null 2>&1 ; then
		update-inetd --pattern "popa3d" --remove pop3
	fi

	rm -f /etc/default/popa3d
else
	if which update-inetd >/dev/null 2>&1 ; then
		update-inetd --pattern "popa3d" --disable pop3
	fi
fi

#DEBHELPER#