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