mirror of
https://github.com/YunoHost-Apps/duniter_ynh.git
synced 2024-09-03 18:26:35 +02:00
[fix] Switch to latest duniter release
This commit is contained in:
parent
2ddb2cc18e
commit
9611455fcf
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
INSTALL_DUNITER_DEBIAN_PACKAGE () {
|
INSTALL_DUNITER_DEBIAN_PACKAGE () {
|
||||||
# Retrieve url of last version and version number
|
# 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)
|
version=$(echo $url | cut -d/ -f8)
|
||||||
|
|
||||||
# Retrieve debian package and install it
|
# Retrieve debian package and install it
|
||||||
|
|
Loading…
Reference in a new issue