From 2ef0c293b30b8876e85b700c4bbf18c6c8ad6af4 Mon Sep 17 00:00:00 2001 From: nemsia Date: Wed, 10 May 2017 22:18:31 +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 6a50fe7..1c61168 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