540d80ded1
- provide pkg-deinstall to clean up after deinstall Submitted by: maintainer [1] Pointyhat to: flo [1]
9 lines
212 B
Bash
9 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
|