1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/vikunja_ynh.git synced 2024-09-03 18:06:26 +02:00

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

This commit is contained in:
Yunohost-Bot 2024-03-11 16:09:01 +01:00 committed by Félix Piédallu
parent fe35941c2f
commit 5299e13ee5

View file

@ -102,12 +102,12 @@ then
ynh_script_progression --message="Upgrading source files..." --weight=5 ynh_script_progression --message="Upgrading source files..." --weight=5
# Frontend # Frontend
ynh_setup_source --dest_dir="$install_dir" --source_id="front" ynh_setup_source --dest_dir="$install_dir" --source_id="front" --full_replace=1
# Backend # Backend
mkdir -p "$backend_path/files" mkdir -p "$backend_path/files"
tempdir="$(mktemp -d)" tempdir="$(mktemp -d)"
ynh_setup_source --dest_dir=$tempdir --source_id="back" ynh_setup_source --dest_dir=$tempdir --source_id="back" --full_replace=1
back="$(find $tempdir -name "vikunja-*" \! -name "*.sha256")" back="$(find $tempdir -name "vikunja-*" \! -name "*.sha256")"
cp "$back" "$backend_path/vikunja" cp "$back" "$backend_path/vikunja"
fi fi