Skip to content

Commit

Permalink
fixing a nasty bug with rebuild_all_webconf (s/and/where/) that provo…
Browse files Browse the repository at this point in the history
…ked roundcube install time bug
  • Loading branch information
vincib committed Oct 2, 2014
1 parent 154738e commit 919d68e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rebuild_all_webconf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 919d68e

Please sign in to comment.