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

[autopatch] TEST BEFORE MERGE ynh_setup_source --full_replace=1

This commit is contained in:
Yunohost-Bot 2024-03-11 16:08:59 +01:00 committed by Félix Piédallu
parent 16db9f75ce
commit 1245a88959

View file

@ -32,10 +32,10 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]
then
ynh_script_progression --message="Upgrading source files..." --weight=1
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir"
ynh_setup_source --dest_dir="$install_dir" --full_replace=1
# Download, check integrity, uncompress and patch the source from dist.src
ynh_setup_source --dest_dir="$install_dir/dist" --source_id="dist"
ynh_setup_source --dest_dir="$install_dir/dist" --source_id="dist" --full_replace=1
fi
chmod -R o-rwx "$install_dir"