From ddf01c9d8ebaf5e27050a15a5c121e38efa37d40 Mon Sep 17 00:00:00 2001 From: Roman Kupriyanov Date: Wed, 21 Jul 2021 18:35:16 +0300 Subject: [PATCH] Do not rewrite local config on upgrade --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 8ff8ba1..055fc86 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -141,7 +141,7 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]; then fi # Copy config file for correct place -ynh_add_config --template="../conf/local-sample.config.php" --destination="$final_path/config/local.config.php" +#ynh_add_config --template="../conf/local-sample.config.php" --destination="$final_path/config/local.config.php" chmod 750 "$final_path" chmod -R o-rwx "$final_path"