diff options
Diffstat (limited to 'mail/exim/files/exim_newaliases')
-rw-r--r-- | mail/exim/files/exim_newaliases | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/mail/exim/files/exim_newaliases b/mail/exim/files/exim_newaliases index 567e621f85a..591d31ab877 100644 --- a/mail/exim/files/exim_newaliases +++ b/mail/exim/files/exim_newaliases @@ -1,7 +1,13 @@ #!/bin/sh # -# $NetBSD: exim_newaliases,v 1.1 1999/09/18 20:26:00 ad Exp $ +# $NetBSD: exim_newaliases,v 1.2 2000/08/30 11:17:05 ad Exp $ # -cd /etc -echo -n '/etc/aliases: ' +if [ -f /etc/mail/aliases ]; then + ALIASDIR=/etc/mail +else + ALIASDIR=/etc +fi + +cd $ALIASDIR +echo -n "$ALIASDIR/aliases: " @PREFIX@/sbin/exim_dbmbuild aliases aliases.db |