diff options
author | Sheldon Hearn <sheldonh@FreeBSD.org> | 2004-01-31 15:27:22 +0000 |
---|---|---|
committer | Sheldon Hearn <sheldonh@FreeBSD.org> | 2004-01-31 15:27:22 +0000 |
commit | 06a6053bab340c10a356f152c0dd445b0d5e7814 (patch) | |
tree | deb46a8de2e3af52e979cc0d26b87b11e8356de7 /mail/exim/pkg-install | |
parent | fadc6707e12807ebe0e663cdd8682b8512d79684 (diff) | |
download | ports-06a6053bab340c10a356f152c0dd445b0d5e7814.tar.gz ports-06a6053bab340c10a356f152c0dd445b0d5e7814.zip |
Notes
Diffstat (limited to 'mail/exim/pkg-install')
-rw-r--r-- | mail/exim/pkg-install | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mail/exim/pkg-install b/mail/exim/pkg-install index 81c3e5050026..d68718153f20 100644 --- a/mail/exim/pkg-install +++ b/mail/exim/pkg-install @@ -11,10 +11,10 @@ # $FreeBSD$ # -PKG_PREFIX=${PKG_PREFIX:=/usr/local} +PKG_PREFIX=${PKG_PREFIX:=%%PREFIX%%} -user=XX_EXIM_USER_XX -group=XX_EXIM_GROUP_XX +user=%%EXIM_USER%% +group=%%EXIM_GROUP%% if [ "$2" = "PRE-INSTALL" ]; then if ! /usr/bin/id ${user} > /dev/null; then @@ -25,6 +25,8 @@ if [ "$2" = "PRE-INSTALL" ]; then echo "Exim requires group ${group}. Please update your system." 1>&2 exit 1 fi + /bin/mkdir -p /var/log/exim + /usr/sbin/chown ${user}:${group} /var/log/exim fi if [ "$2" = "POST-INSTALL" ]; then |