mirror of
https://github.com/YunoHost-Apps/firefly-iii_ynh.git
synced 2024-09-03 18:36:13 +02:00
Added upgrade hash
This commit is contained in:
parent
36019b9484
commit
2b9b70ecd1
2 changed files with 3 additions and 2 deletions
|
@ -17,6 +17,7 @@
|
|||
setup_private=1
|
||||
setup_public=1
|
||||
upgrade=1
|
||||
upgrade=1 from_commit=66140e9d21f8d9e07074b5bded213265b06819d5
|
||||
backup_restore=1
|
||||
multi_instance=1
|
||||
# This test is no longer necessary since the version 2.7 (PR: https://github.com/YunoHost/yunohost/pull/304), you can still do it if your app could be installed with this version.
|
||||
|
|
|
@ -102,7 +102,7 @@ then
|
|||
cp -a "$final_path/storage/upload/" "$tmpdir/storage/upload/"
|
||||
cp -a "$final_path/.env" "$tmpdir/.env"
|
||||
cp -a "$final_path/storage/export/" "$tmpdir/storage/export/"
|
||||
rm -Rf "$final_path"
|
||||
ynh_secure_remove --file="$final_path"
|
||||
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$final_path"
|
||||
|
@ -112,7 +112,7 @@ then
|
|||
cp -a "$tmpdir/storage/export/" "$final_path/storage/export/"
|
||||
cp -a "$tmpdir/.env" "$final_path/.env"
|
||||
# Remove temporary directory
|
||||
rm -Rf "$tmpdir"
|
||||
ynh_secure_remove --file="$tmpdir"
|
||||
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue