diff --git a/scripts/upgrade b/scripts/upgrade index 6cfc16c..f38ca11 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -104,6 +104,7 @@ then cp -a "$final_path/storage/export/" "$tmpdir/storage/export/" ynh_secure_remove --file="$final_path" + # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$final_path" @@ -114,6 +115,7 @@ then # Remove temporary directory ynh_secure_remove --file="$tmpdir" + fi #=================================================