diff --git a/scripts/upgrade b/scripts/upgrade index 3a6c0db..f83372d 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -96,8 +96,8 @@ if [ "$upgrade_type" == "UPGRADE_APP" ] then ynh_script_progression --message="Upgrading source files..." --weight=5 - # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir="$final_path" --keep="$final_path/data" + # Download, check integrity, uncompress and patch the source from app.src + ynh_setup_source --dest_dir="$final_path" --keep="data/" fi chmod 750 "$final_path"