From eda3f0004b1fc71eb5ab39513f584f6674540f70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 10 Sep 2023 17:18:36 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 3d8973a..c1a596c 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -114,9 +114,6 @@ then # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$final_path" --keep="var/invoices/ var/data/" #config/packages/local.yaml - - ynh_secure_remove --file="$final_path/var/plugins/*" - ynh_secure_remove --file="$final_path/var/cache/prod/*" fi chmod 750 "$final_path" @@ -156,7 +153,7 @@ ynh_add_nginx_config #================================================= ynh_script_progression --message="Building $app..." --weight=1 -ynh_install_composer --phpversion="$YNH_PHP_VERSION" --workdir="$final_path" --install_args="--optimize-autoloader --no-scripts" +ynh_install_composer --phpversion="$YNH_PHP_VERSION" --workdir="$final_path" --install_args="--optimize-autoloader --no-interaction" ynh_composer_exec --phpversion="$YNH_PHP_VERSION" --workdir="$final_path" --commands="require laminas/laminas-ldap" chmod 750 "$final_path"