1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/bazarr_ynh.git synced 2024-09-03 18:06:27 +02:00

Keep data directory upon upgrade

This commit is contained in:
tituspijean 2024-04-07 15:32:46 +02:00
parent ff5f62376f
commit eb507c29c3
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720

View file

@ -40,7 +40,7 @@ then
ynh_script_progression --message="Upgrading source files..." --weight=2
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir" --full_replace=1
ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="$install_dir/data"
fi
chmod -R o-rwx "$install_dir"