Added check for mail existing before sending mail in installapp
This commit is contained in:
parent
e1bd7eec51
commit
7142d56d20
@ -40,4 +40,4 @@ done
|
||||
config_$APP
|
||||
start_$APP
|
||||
# Only send email if email function exists and NO_EMAIL isn't set
|
||||
[[ ! "$NO_EMAIL" ]] && [[ $(type -t email_$APP) == function ]] && email_$APP
|
||||
[[ ! "$NO_EMAIL" ]] && [[ -d "/federated/apps/mail" ]] && [[ $(type -t email_$APP) == function ]] && email_$APP
|
||||
|
Loading…
x
Reference in New Issue
Block a user