1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gamja_ynh.git synced 2024-09-03 18:36:34 +02:00

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

This commit is contained in:
Yunohost-Bot 2024-03-11 16:04:48 +01:00 committed by Félix Piédallu
parent d370321d82
commit 5726c1fcc1

View file

@ -34,7 +34,7 @@ then
ynh_script_progression --message="Upgrading source files..." --weight=3 ynh_script_progression --message="Upgrading source files..." --weight=3
# 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.json" ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="config.json"
fi fi
chmod -R o-rwx "$install_dir" chmod -R o-rwx "$install_dir"
@ -87,7 +87,7 @@ ynh_script_progression --message="Building webircgateway..." --weight=4
mkdir -p $webircgateway_path mkdir -p $webircgateway_path
tempdir="$(mktemp -d)" tempdir="$(mktemp -d)"
ynh_setup_source --dest_dir=$tempdir --source_id="webircgateway" ynh_setup_source --dest_dir=$tempdir --source_id="webircgateway" --full_replace=1
pushd $tempdir pushd $tempdir
ynh_use_go ynh_use_go
export GOPATH="$tempdir/go" export GOPATH="$tempdir/go"