From 2ca0d587707d80a722913115ff8e97a12ff61f3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 9 Sep 2023 20:55:30 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index fbb7cb9..ccca4da 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -153,14 +153,10 @@ ynh_add_nginx_config #================================================= ynh_script_progression --message="Building Kimai2..." --weight=1 +ynh_secure_remove --file="$final_path/var/cache/prod" ynh_install_composer --phpversion="$YNH_PHP_VERSION" --workdir="$final_path" --install_args="--optimize-autoloader" - pushd "$final_path" - ynh_exec_as $app php$YNH_PHP_VERSION bin/console cache:clear --env=prod - popd ynh_composer_exec --phpversion="$YNH_PHP_VERSION" --workdir="$final_path" --commands="require laminas/laminas-ldap" -#ynh_secure_remove --file="$final_path/var/cache/prod" - chmod 750 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path"