1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/sysutils/minimunin/pkg-install
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

9 lines
189 B
Bash

#!/bin/sh
if [ "$2" = "POST-INSTALL" ]; then
echo "updating /etc/services"
(grep -q '^munin ' /etc/services || \
echo "munin 4949/tcp #munin node"; ) \
>> /etc/services
fi