diff --git a/scripts/upgrade b/scripts/upgrade index 1c97beb..5fa4417 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -60,7 +60,7 @@ then ynh_script_progression --message="Upgrading source files..." --weight=3 # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir="$install_dir/build" --keep="dendrite.yaml" + ynh_setup_source --dest_dir="$install_dir/build" --keep="dendrite.yaml" --full_replace fi chmod 750 "$install_dir" @@ -103,7 +103,7 @@ then CGO_ENABLED=1 go build -trimpath -v -o "$install_dir/bin/" ./cmd/generate-keys > /dev/null 2>&1 popd -#REMOVEME? ynh_secure_remove --file="$install_dir/build" + ynh_secure_remove --file="$install_dir/build" ynh_remove_go fi