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:
parent
fe35941c2f
commit
5299e13ee5
1 changed files with 2 additions and 2 deletions
|
@ -102,12 +102,12 @@ then
|
|||
ynh_script_progression --message="Upgrading source files..." --weight=5
|
||||
|
||||
# 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
|
||||
mkdir -p "$backend_path/files"
|
||||
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")"
|
||||
cp "$back" "$backend_path/vikunja"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue