From 389b1d9404ac8b296ff723f4e8a1db26442d575f Mon Sep 17 00:00:00 2001 From: Douze Baie <12b@distrilab.fr> Date: Sat, 15 Jun 2024 00:38:41 +0200 Subject: [PATCH] yolo --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index daf1713..02272bd 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -88,7 +88,7 @@ chmod +x /etc/yunohost/hooks.d/post_app_install/${app}_sync_app_importer.sh if [ $(grep yunohost_sso_domain "$install_dir/wakka.config.php" | wc -l) = "0" ]; then SSO_DOMAIN=$(yunohost domain main-domain | sed -e 's/.*: //') - ynh_replace_string --match_string="wakkaConfig = array (" --replace_string="wakkaConfig = array (\n 'yunohost_sso_domain' => '${SSO_DOMAIN}',\n" --target_file="$install_dir/wakka.config.php" + ynh_replace_string --match_string="'wakka_version'" --replace_string="'yunohost_sso_domain' => '${SSO_DOMAIN}',\n 'wakka_version'" --target_file="$install_dir/wakka.config.php" fi # ToDo : Add app importer config in wakka.config.php if it is not already there ?