mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
540d80ded1
- provide pkg-deinstall to clean up after deinstall Submitted by: maintainer [1] Pointyhat to: flo [1]
10 lines
212 B
Bash
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
|