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 #44 from CodeShakingSheep/keep-userfiles

Keep userfiles
This commit is contained in:
eric_G 2024-06-04 22:49:11 +02:00 committed by GitHub
commit 9a3f07a7df
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
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 userfiles public/userfiles"
fi
chmod -R o-rwx "$install_dir"