1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cowyo_ynh.git synced 2024-09-03 18:16:15 +02:00

Keep data directory upon upgrade

This commit is contained in:
tituspijean 2024-06-23 18:24:12 +02:00
parent 07cee8de65
commit 812201ee80
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720

View file

@ -33,7 +33,7 @@ then
ynh_script_progression --message="Upgrading source files..." --weight=3
# 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="data"
fi
chmod -R o-rwx "$install_dir"