1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/digitools_ynh.git synced 2024-09-03 18:25:56 +02:00

Merge pull request #7 from YunoHost-Apps/upgrade_full_replace

[autopatch] TEST BEFORE MERGE ynh_setup_source --full_replace=1
This commit is contained in:
eric_G 2024-04-29 15:31:04 +02:00 committed by GitHub
commit d136fc368a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -20,7 +20,7 @@ upgrade_type=$(ynh_check_app_version_changed)
#=================================================
ynh_script_progression --message="Upgrading source files..." --weight=1
ynh_setup_source --dest_dir="$install_dir" --keep="inc/digiwords.db"
ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="inc/digiwords.db"
chmod -R o-rwx "$install_dir"
chown -R "$app:www-data" "$install_dir"