From 9611455fcf0d32d6d62be537903cca18cadf1bcb Mon Sep 17 00:00:00 2001 From: nemsia Date: Thu, 11 May 2017 00:01:25 +0200 Subject: [PATCH] [fix] Switch to latest duniter release --- scripts/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/functions.sh b/scripts/functions.sh index 9dd401b..6b574df 100644 --- a/scripts/functions.sh +++ b/scripts/functions.sh @@ -2,7 +2,7 @@ INSTALL_DUNITER_DEBIAN_PACKAGE () { # Retrieve url of last version and version number -url=$(curl -s https://api.github.com/repos/duniter/duniter/releases | grep "browser_" | grep $arch | grep "linux" | grep "server" | sort -r | head -1 | cut -d\" -f4) +url=$(curl -s https://api.github.com/repos/duniter/duniter/releases/latest | grep "browser_" | grep $arch | grep "linux" | grep "server" | sort -r | head -1 | cut -d\" -f4) version=$(echo $url | cut -d/ -f8) # Retrieve debian package and install it