1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/firefly-iii_ynh.git synced 2024-09-03 18:36:13 +02:00

Update upgrade

This commit is contained in:
Memo 2022-04-05 21:00:11 +02:00 committed by GitHub
parent 9942c72676
commit 33721189f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -90,6 +90,11 @@ then
if [ `cd $final_path && git rev-parse --is-inside-work-tree` ]; if [ `cd $final_path && git rev-parse --is-inside-work-tree` ];
then then
pushd "$final_path" pushd "$final_path"
ynh_setup_source --dest_dir=$final_path
ynh_secure_remove --file="$final_path/bootstrap/cache/*"
ynh_secure_remove --file="$final_path/vendor/"
popd
else else
ynh_script_progression --message="Upgrading source files..." ynh_script_progression --message="Upgrading source files..."
# Create a temporary directory # Create a temporary directory