1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/sysutils/minimunin/pkg-deinstall
Florian Smeets 540d80ded1 - fix typo on pkg-install [1]
- provide pkg-deinstall to clean up after deinstall

Submitted by:	maintainer [1]
Pointyhat to:	flo [1]
2013-10-28 18:08:56 +00:00

10 lines
212 B
Bash

#!/bin/sh
if [ "$2" = "DEINSTALL" ]; then
echo "updating /etc/services"
cp /etc/services /tmp/services
grep -v '^munin 4949/tcp #munin node$' \
/tmp/services > /etc/services
rm /tmp/services
fi