From 919d68e88018f0f48a7913d984dd471d1b0b45dc Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Thu, 2 Oct 2014 14:13:56 +0200 Subject: [PATCH] fixing a nasty bug with rebuild_all_webconf (s/and/where/) that provoked roundcube install time bug --- src/rebuild_all_webconf.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rebuild_all_webconf.sh b/src/rebuild_all_webconf.sh index ba4ec65f..cf7fcefa 100755 --- a/src/rebuild_all_webconf.sh +++ b/src/rebuild_all_webconf.sh @@ -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