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.comac2aa24a3ff9
diff --git a/update.sh b/update.sh
index 6a8cb420..82310388 100644
--- a/update.sh
+++ b/update.sh
@@ -283,7 +283,7 @@ Update_BillionMail(){
Update_config() {
- if ! grep "^RETENTION_DAYS=" .env; then
+ if ! grep -q "^RETENTION_DAYS=" .env; then
echo "" >> .env
echo "# Number of days to keep log backup" >> .env
echo "RETENTION_DAYS=7" >> .env