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

Update upgrade

Keep userfiles
This commit is contained in:
CodeShakingSheep 2024-05-17 16:31:37 -05:00 committed by GitHub
parent c43345bf5e
commit 8481c8f140
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" --full_replace=1 --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"