Skip to content

BillionMail gives you open-source MailServer, NewsLetter, Email Marketing — fully self-hosted, dev-friendly, and free from monthly fees. Join the discord: https://discord.gg/asfXzBUhZr

Update update.sh

aapanel.comd84b7fec909a
diff --git a/update.sh b/update.sh
index acce1bae..e17819a6 100644
--- a/update.sh
+++ b/update.sh
@@ -201,9 +201,13 @@ Update_BillionMail(){
git checkout "origin/${BRANCH}" update.sh
MD5_2=$(md5sum update.sh)
if [[ "${MD5_1}" != "${MD5_2}" ]]; then
- echo -e "\033[33m update.sh is changed, please run update.sh script again.\033[0m"
+ #echo -e "\033[33m update.sh is changed, please run update.sh script again.\033[0m"
chmod +x update.sh
- exit 1
+ echo y | ./update.sh
+ #exit 1
+ else
+ chmod +x update.sh
+ echo y | ./update.sh
fi
fi