Don't run newaliases if sendmail_enable=NONE.

Submitted by:	Matt Peterson <matt at peterson dot org>
Approved by:	silence on freebsd-rc
This commit is contained in:
Brooks Davis 2004-01-05 19:14:47 +00:00
parent b0fdf71656
commit f0e62d30bd
4 changed files with 28 additions and 4 deletions

View File

@ -107,7 +107,13 @@ echo "+++ create lastlog"
# Make sure our aliases database is uptodate, the aliases may have
# been overriden in /conf.
#
/usr/bin/newaliases
case ${sendmail_enable} in
[Nn][Oo][Nn][Ee])
;;
*)
/usr/bin/newaliases
;;
esac
# XXX make sure to create one dir for each printer as requested by lpd
#

View File

@ -107,7 +107,13 @@ echo "+++ create lastlog"
# Make sure our aliases database is uptodate, the aliases may have
# been overriden in /conf.
#
/usr/bin/newaliases
case ${sendmail_enable} in
[Nn][Oo][Nn][Ee])
;;
*)
/usr/bin/newaliases
;;
esac
# XXX make sure to create one dir for each printer as requested by lpd
#

View File

@ -107,7 +107,13 @@ echo "+++ create lastlog"
# Make sure our aliases database is uptodate, the aliases may have
# been overriden in /conf.
#
/usr/bin/newaliases
case ${sendmail_enable} in
[Nn][Oo][Nn][Ee])
;;
*)
/usr/bin/newaliases
;;
esac
# XXX make sure to create one dir for each printer as requested by lpd
#

View File

@ -107,7 +107,13 @@ echo "+++ create lastlog"
# Make sure our aliases database is uptodate, the aliases may have
# been overriden in /conf.
#
/usr/bin/newaliases
case ${sendmail_enable} in
[Nn][Oo][Nn][Ee])
;;
*)
/usr/bin/newaliases
;;
esac
# XXX make sure to create one dir for each printer as requested by lpd
#