diff --git a/roundcube/roundcube-install b/roundcube/roundcube-install index de12c6c9..81011d12 100644 --- a/roundcube/roundcube-install +++ b/roundcube/roundcube-install @@ -61,8 +61,6 @@ EOF echo " Done" - echo " Done" - . /usr/lib/alternc/functions.sh echo "giving write access to roundcube to the email password ..." @@ -78,8 +76,8 @@ EOF echo "Migrating old webmail domaine type to roundcube one:" # migration of the "webmail" hosts to "roundcube" hosts: - mysql_query "INSERT IGNORE INTO sub_domaines (compte, domaine, sub, valeur, type, web_action, web_result, enable) SELECT compte, domaine, sub, valeur,'roundcube', 'UPDATE',0, enable FROM sub_domaines WHERE type='webmail' AND web_action='OK';" - mysql_query "UPDATE sub_domaines SET web_action='DELETE' WHERE type='webmail' AND web_action='OK';" + mysql_query "INSERT IGNORE INTO sub_domaines (compte, domaine, sub, valeur, type, web_action, web_result, enable) SELECT compte, domaine, sub, valeur,'roundcube', 'UPDATE',0, enable FROM sub_domaines WHERE type='WEBMAIL';" + mysql_query "UPDATE sub_domaines SET web_action='DELETE' WHERE type='WEBMAIL';" echo " Done" echo "Deconfiguring javascript-common alias"