fixing a nasty bug with rebuild_all_webconf (s/and/where/) that provoked roundcube install time bug

This commit is contained in:
Benjamin Sonntag 2014-10-02 14:13:56 +02:00
parent 154738e277
commit 919d68e880
1 changed files with 2 additions and 2 deletions

View File

@ -15,8 +15,8 @@ fi
echo "++ Start rebuilding ++"
echo "Set flag to rebuild"
mysql_query "update sub_domaines set web_action = 'UPDATE' and web_action != 'DELETE';"
mysql_query "update domaines set dns_action = 'UPDATE' and dns_action != 'DELETE';"
mysql_query "update sub_domaines set web_action = 'UPDATE' WHERE web_action != 'DELETE';"
mysql_query "update domaines set dns_action = 'UPDATE' WHERE dns_action != 'DELETE';"
echo "Now launching update_domains to rebuild."
/usr/lib/alternc/update_domains.sh