aboutsummaryrefslogtreecommitdiff
path: root/mail/spamd/pkg-deinstall
blob: a1ec026849349d4c21d209dda8305f3e8a62456f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
#
# ex:ts=4:sw=4:noet
#-*- mode: makefile; tab-width: 4; -*-
#
# $FreeBSD$

#if [ "$2" = "DEINSTALL" ]; then
# Disabled until pkg runs DEINSTALL before INSTALL in upgrades
if false; then
	FILE="/etc/services"
	echo "===>   Removing spamd entries from ${FILE}"
	sed -i '' \
		-e "/^spamd-sync.*8025/d" \
		-e "/^spamd-cfg.*8026/d" \
		-e "/^spamd.*8025/d" \
		${FILE}
fi