mirror of
https://github.com/YunoHost-Apps/firefly-iii_ynh.git
synced 2024-09-03 18:36:13 +02:00
Fixed upgrade
This commit is contained in:
parent
2266f4771c
commit
0877583b6b
1 changed files with 4 additions and 4 deletions
|
@ -77,8 +77,8 @@ mkdir -p "$tmpdir/storage/export"
|
|||
mkdir -p "$final_path/storage/upload/"
|
||||
mkdir -p "$final_path/storage/export/"
|
||||
cp -a "$final_path/.env" "$tmpdir/.env"
|
||||
cp -a "$final_path/storage/upload/*" "$tmpdir/storage/upload/*"
|
||||
cp -a "$final_path/storage/export/*" "$tmpdir/storage/export/*"
|
||||
cp -a "$final_path/storage/upload/" "$tmpdir/storage/upload/"
|
||||
cp -a "$final_path/storage/export/" "$tmpdir/storage/export/"
|
||||
|
||||
# Remove the app directory securely
|
||||
ynh_secure_remove "$final_path"
|
||||
|
@ -99,8 +99,8 @@ ynh_setup_source "$final_path"
|
|||
|
||||
rm -rf "$final_path/bootstrap/cache/*"
|
||||
cp -a "$tmpdir/.env" "$final_path/.env"
|
||||
cp -a "$tmpdir/storage/upload/*" "$final_path/storage/upload/"
|
||||
cp -a "$tmpdir/storage/export/*" "$final_path/storage/export/"
|
||||
cp -a "$tmpdir/storage/upload/" "$final_path/storage/upload/"
|
||||
cp -a "$tmpdir/storage/export/" "$final_path/storage/export/"
|
||||
|
||||
#remove tmp dir
|
||||
sudo rm -Rf "$tmpdir"
|
||||
|
|
Loading…
Reference in a new issue