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

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

This commit is contained in:
Yunohost-Bot 2024-03-11 16:08:51 +01:00 committed by Félix Piédallu
parent 27a4af1228
commit 6a0ae77ef8

View file

@ -29,7 +29,7 @@ then
ynh_script_progression --message="Upgrading source files..." --weight=10 ynh_script_progression --message="Upgrading source files..." --weight=10
# 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="$install_dir" --keep="config.ini" ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="config.ini"
grep -v electron "$install_dir/package.json" > "$install_dir/server-package.json" grep -v electron "$install_dir/package.json" > "$install_dir/server-package.json"
mv "$install_dir/server-package.json" "$install_dir/package.json" mv "$install_dir/server-package.json" "$install_dir/package.json"