mirror of
https://github.com/YunoHost-Apps/aeneria_ynh.git
synced 2024-09-03 18:06:15 +02:00
Keep private dir when upgrading
This commit is contained in:
parent
dbc4a80cf2
commit
04b3c03580
1 changed files with 3 additions and 0 deletions
|
@ -58,6 +58,9 @@ then
|
|||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$tmpdir"
|
||||
|
||||
# Keep private dir
|
||||
mv "$install_dir/private" "$tmpdir"
|
||||
|
||||
# Replace the old aeneria by the new one
|
||||
ynh_secure_remove --file="$install_dir"
|
||||
mv "$tmpdir" "$install_dir"
|
||||
|
|
Loading…
Add table
Reference in a new issue