From 5c372f89af18613f095cf70d8314d53f10a0e521 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 18 May 2021 18:10:59 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index c32b309..784ef3a 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -99,7 +99,7 @@ then fi # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir="$final_path" --keep="$final_path/public/dist/user.css $final_path/.env" + ynh_setup_source --dest_dir="$final_path" #--keep="$final_path/public/dist/user.css $final_path/.env" fi chmod 750 "$final_path" @@ -141,8 +141,8 @@ ynh_install_composer --install_args="--ignore-platform-reqs" #================================================= # ynh_script_progression --message="Setting Lychee config..." -# # Setup application config -# ynh_add_config --template="../conf/.env.example" --destination="$final_path/.env" +# Setup application config +ynh_add_config --template="../conf/.env.example" --destination="$final_path/.env" #================================================= # INSTALL AND INITIALIZE COMPOSER @@ -152,8 +152,8 @@ if [ "$upgrade_type" == "UPGRADE_APP" ] then ynh_script_progression --message="Upgrading Lychee source files..." --weight=4 pushd $final_path - php$phpversion artisan key:generate -n --force - php$phpversion artisan migrate -n --force + #php$phpversion artisan key:generate -n --force + php$phpversion artisan migrate -n #--force popd fi