Update mm-scripts.sh

This commit is contained in:
2023-04-21 21:30:21 -05:00
parent 045345087e
commit 5e90a1a9ce

View File

@@ -874,7 +874,6 @@ MMSETUP(){
echo
echo -e "${idsCL[LightCyan]}You may choose to setup notifications by either SMTP and/or Pushover:${idsCL[Default]}"
echo
if [ "${EMAIL_NOTICE}" != "" ]; then
read -n 1 -p "Use previous email address [${EMAIL_NOTICE}] (Y/n)?" choice
@@ -882,7 +881,7 @@ MMSETUP(){
[Nn]) EMAIL_NOTICE="";;esac
fi
if [ "${EMAIL_NOTICE}" == "" ]; then
echo; echo -e -n "${idsCL[LightCyan]}(optional) SMTP notification address: ${idsCL[Default]}"
echo; echo -e -n "${idsCL[LightCyan]}(optional) Email notification address: ${idsCL[Default]}"
read -e EMAIL_NOTICE
fi
[ "${EMAIL_NOTICE}" != "" ] && echo "EMAIL_NOTICE=${EMAIL_NOTICE}" >> ${MMFOLDER}/settings.conf || echo "# EMAIL_NOTICE=email@address.com" >> ${MMFOLDER}/settings.conf