From 6371b6ec2f28284edb00dd3ac43a244e14ca716b Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 11 Sep 2023 15:02:21 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20--full-replace=20usage=C2=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 6104c56..7b38806 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -25,7 +25,7 @@ then # Download, check integrity, uncompress and patch the source from app.src # TODO : find a way to sync stable extensions list to avoid hardcoded extensions folders to keep - ynh_setup_source --dest_dir="$install_dir" --full-replace 1 --keep='.env wakka.config.php files/ custom/ private/ themes/ tools/accountactivationbyemail/ tools/advancedsearch/ tools/benevolat/ tools/ferme/ tools/fontautoinstall/ tools/ipblock/ tools/lms/ tools/login-sso/ tools/logincas/ tools/loginldap/ tools/maintenance/ tools/multideletepages/ tools/nextcloudconnector/ tools/publication/ tools/qrcode/ tools/stats/ tools/tabdyn/ tools/twolevels/ tools/webhooks' + ynh_setup_source --dest_dir="$install_dir" --full-replace=1 --keep='.env wakka.config.php files/ custom/ private/ themes/ tools/accountactivationbyemail/ tools/advancedsearch/ tools/benevolat/ tools/ferme/ tools/fontautoinstall/ tools/ipblock/ tools/lms/ tools/login-sso/ tools/logincas/ tools/loginldap/ tools/maintenance/ tools/multideletepages/ tools/nextcloudconnector/ tools/publication/ tools/qrcode/ tools/stats/ tools/tabdyn/ tools/twolevels/ tools/webhooks' ynh_replace_string --match_string="yeswiki_release' \?=> \?'.*',$" --replace_string="yeswiki_release' => '$(ynh_app_upstream_version)'," --target_file="$install_dir/wakka.config.php" fi