From ee35597ed61faee304f7624cde566ad492a90a03 Mon Sep 17 00:00:00 2001 From: Moul Date: Sun, 29 Mar 2020 12:43:14 +0200 Subject: [PATCH] [mod] Upgrade upstream to v1.7.21 with DUBPv12 - Get back to artifacts generated by GitLab CD --- scripts/functions.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/functions.sh b/scripts/functions.sh index ec5c8d3..f5b31c4 100644 --- a/scripts/functions.sh +++ b/scripts/functions.sh @@ -1,15 +1,16 @@ #/bin/bash INSTALL_DUNITER_DEBIAN_PACKAGE () { - version="v1.7.18" + version="v1.7.21" + url_base="https://git.duniter.org/nodes/typescript/duniter/" if [ $arch == "x64" ]; then - url_base="https://git.duniter.org/nodes/typescript/duniter/-/jobs/21913/artifacts/raw/work/bin/" + mid_url="-/jobs/34995/artifacts/raw/work/bin/" else - url_base="https://jytou.fr/duniter/" + mid_url="uploads/23e768a0c5afc515ae59b4bf536ceecb/" fi deb="duniter-server-$version-linux-$arch.deb" - url="${url_base}${deb}" + url="${url_base}${mid_url}${deb}" # Retrieve debian package and install it wget -nc --quiet $url -P /tmp