1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/uptime-kuma_ynh.git synced 2024-10-01 13:34:58 +02:00

Merge branch '59-the-data-directory-is-copied-recursively' into testing

This commit is contained in:
Hadrien 2023-03-12 14:03:46 +01:00
commit 09d54c6e42

View file

@ -65,11 +65,11 @@ ynh_system_user_create --username=$app --home_dir="$final_path"
if [ "$upgrade_type" == "UPGRADE_APP" ] 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
# Download, check integrity, uncompress and patch the source from app.src # Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$final_path" --keep=data/ ynh_setup_source --source_id="app" --dest_dir="$final_path"
# Download, check integrity, uncompress and patch the source from dist.src # Download, check integrity, uncompress and patch the source from dist.src
ynh_setup_source --source_id="dist" --dest_dir="$final_path/dist" ynh_setup_source --source_id="dist" --dest_dir="$final_path/dist"
fi fi
chmod 750 "$final_path" chmod 750 "$final_path"