Browse Source

[Update] Remove deprecated site config for ejabberd

andryyy 4 years ago
parent
commit
9b8f5b7cc1
1 changed files with 2 additions and 0 deletions
  1. 2 0
      update.sh

+ 2 - 0
update.sh

@@ -564,6 +564,8 @@ for container in "${MAILCOW_CONTAINERS[@]}"; do
   docker rm -f "$container" 2> /dev/null
 done
 
+[[ -f data/conf/nginx/ZZZ-ejabberd.conf ]] && rm data/conf/nginx/ZZZ-ejabberd.conf
+
 # Silently fixing remote url from andryyy to mailcow
 git remote set-url origin https://github.com/mailcow/mailcow-dockerized
 echo -e "\e[32mCommitting current status...\e[0m"