freebsd-ports/mail/nullmailer/files/pkg-install.in
Greg Larkin e4fd0f2b90 - Fixed a script name error in pkg-deinstall
- Changed syslog facility.level from local5.info to mail.info
- Removed /etc/syslog.conf mangling from pkg-install/deinstall
- Moved user/group creation from pkg-install to USERS/GROUPS style
  supported by bsd.port.mk
- Updated nullmailer.in rc script to properly daemonize nullmailer-send
  since the port does not use sysutils/daemontools
- Bumped PORTREVISION

Reported by:	ed
2010-04-15 15:35:06 +00:00

8 lines
232 B
Bash

#!/bin/sh
if [ x"$2" = xPOST-INSTALL ]; then
if [ ! -f %%PREFIX%%/etc/nullmailer/me.sample ]; then
echo "Creating \"%%PREFIX%%/etc/nullmailer/me.sample\"."
echo `/bin/hostname` > %%PREFIX%%/etc/nullmailer/me.sample
fi
fi