From 9911fd72cd71bacbb26c7c97872c99337f227856 Mon Sep 17 00:00:00 2001 From: mrflos Date: Fri, 17 May 2024 17:38:37 +0200 Subject: [PATCH] fix(install): need a comma in config, rename cog --- conf/CLIC/default-content.sql | 2 +- scripts/install | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/CLIC/default-content.sql b/conf/CLIC/default-content.sql index f496622..089c289 100644 --- a/conf/CLIC/default-content.sql +++ b/conf/CLIC/default-content.sql @@ -369,7 +369,7 @@ Ces services ont été mis en place par {{button class=\"btn-primary new-window\ =====Echanger===== ', '', '{{WikiName}}', '{{WikiName}}', 'Y', 'page', ''), ('PageRapideHaut', now(), '{{moteurrecherche template=\"moteurrecherche_button.tpl.html\"}} -{{buttondropdown icon=\"cog\" caret=\"0\" title=\"Roue crantée\"}} +{{buttondropdown icon=\"cog\" caret=\"0\" title=\"Gestion du site\"}} - {{button nobtn=\"1\" icon=\"fa fa-tachometer-alt\" text=\"Tableau de bord\" link=\"TableauDeBord\"}} - {{button nobtn=\"1\" icon=\"fa fa-question\" text=\"Documentation\" link=\"doc\"}} - ------ diff --git a/scripts/install b/scripts/install index 1c71263..acffe15 100755 --- a/scripts/install +++ b/scripts/install @@ -85,7 +85,7 @@ if [ "${authprovider}" = "Yunohost LDAP" ]; then # Add config at the end of wakka.config.php ynh_replace_string --match_string=");" --replace_string=" 'ldap_host' => '127.0.0.1',\n);" --target_file="$install_dir/wakka.config.php" ynh_replace_string --match_string=");" --replace_string=" 'ldap_port' => '389',\n);" --target_file="$install_dir/wakka.config.php" - ynh_replace_string --match_string=");" --replace_string=" 'ldap_base' => 'ou=users,dc=yunohost,dc=org'\n);" --target_file="$install_dir/wakka.config.php" + ynh_replace_string --match_string=");" --replace_string=" 'ldap_base' => 'ou=users,dc=yunohost,dc=org',\n);" --target_file="$install_dir/wakka.config.php" fi if [ "${wikimodel}" = "CLIC" ]; then