1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/leantime_ynh.git synced 2024-09-03 19:36:04 +02:00

Merge pull request #34 from YunoHost-Apps/upgrade_full_replace

[autopatch] TEST BEFORE MERGE ynh_setup_source --full_replace=1
This commit is contained in:
eric_G 2024-05-01 09:06:17 +02:00 committed by GitHub
commit 50c916e0f9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -21,7 +21,7 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]
then then
ynh_script_progression --message="Upgrading source files..." --weight=1 ynh_script_progression --message="Upgrading source files..." --weight=1
ynh_setup_source --dest_dir="$install_dir" --keep="config/.env" ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="config/.env"
fi fi
chmod -R o-rwx "$install_dir" chmod -R o-rwx "$install_dir"