mirror of
https://github.com/YunoHost-Apps/webtrees_ynh.git
synced 2024-09-03 18:26:37 +02:00
Update upgrade
This commit is contained in:
parent
e2476b9f49
commit
4aac6c58e3
1 changed files with 2 additions and 1 deletions
|
@ -89,10 +89,11 @@ then
|
||||||
mv ${final_path} ${final_path}.old
|
mv ${final_path} ${final_path}.old
|
||||||
|
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
ynh_setup_source "$final_path" --keep="modules_v4/"
|
ynh_setup_source "$final_path"
|
||||||
|
|
||||||
# restore data
|
# restore data
|
||||||
cp -a ${final_path}.old/data ${final_path}
|
cp -a ${final_path}.old/data ${final_path}
|
||||||
|
cp -a ${final_path}.old/modules_v4 ${final_path}
|
||||||
|
|
||||||
# delete temp directory
|
# delete temp directory
|
||||||
ynh_secure_remove --file=${final_path}.old
|
ynh_secure_remove --file=${final_path}.old
|
||||||
|
|
Loading…
Add table
Reference in a new issue