diff options
Diffstat (limited to 'mail/exim/pkg-install')
-rw-r--r-- | mail/exim/pkg-install | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/mail/exim/pkg-install b/mail/exim/pkg-install index ee9dbcead7f..616ff41effd 100644 --- a/mail/exim/pkg-install +++ b/mail/exim/pkg-install @@ -12,11 +12,10 @@ # PKG_PREFIX=${PKG_PREFIX:=%%PREFIX%%} -PKG_DESTDIR=${PKG_DESTDIR:=} user=%%EXIM_USER%% group=%%EXIM_GROUP%% -logdir=$PKG_DESTDIR%%LOGDIR%% +logdir=%%LOGDIR%% if [ "$2" = "PRE-INSTALL" ]; then if ! /usr/bin/id ${user} > /dev/null; then @@ -31,7 +30,7 @@ if [ "$2" = "PRE-INSTALL" ]; then fi if [ "$2" = "POST-INSTALL" ]; then - cf=$PKG_DESTDIR$PKG_PREFIX/etc/exim/configure + cf=$PKG_PREFIX/etc/exim/configure if [ -e $cf ]; then if /usr/bin/grep -q '^[^#]*hostlist.*relay_from_hosts.*=.*127.0.0.1' $cf then @@ -49,7 +48,7 @@ if [ "$2" = "POST-INSTALL" ]; then echo "============================================================" fi fi - if ! /usr/bin/grep -qs "^exim_enable" $PKG_DESTDIR/etc/rc.conf + if ! /usr/bin/grep -qs "^exim_enable" /etc/rc.conf then echo echo "Don't forget to add 'exim_enable=\"YES\"' to rc.conf(5)" |