mirror of
https://github.com/YunoHost-Apps/duniter_ynh.git
synced 2024-09-03 18:26:35 +02:00
[fix] #42 Install latest version available
This commit is contained in:
parent
63d888933d
commit
a824958bdf
1 changed files with 1 additions and 1 deletions
|
@ -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" | head -1 | cut -d\" -f4)
|
||||
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)
|
||||
version=$(echo $url | cut -d/ -f8)
|
||||
|
||||
# Retrieve debian package and install it
|
||||
|
|
Loading…
Reference in a new issue