From 1419b529c8787b89ac85fef2bc8423ccc6c8dfa0 Mon Sep 17 00:00:00 2001 From: Patrick Date: Tue, 30 Jan 2018 11:55:12 +0100 Subject: [PATCH] Merge branch 'master' of https://git.dinven.de/gitorious/Scripte --- checks/check_gitea_update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checks/check_gitea_update b/checks/check_gitea_update index 8b70fe7..95fe56e 100755 --- a/checks/check_gitea_update +++ b/checks/check_gitea_update @@ -23,7 +23,7 @@ else fi -gitea_remote_version=$(lynx -dump https://github.com/go-gitea/gitea/releases | grep -B 2 GiteaBot | grep "]v" | grep -v rc | cut -d "v" -f 2 | head -n 1) +gitea_remote_version=$(curl --silent https://github.com/go-gitea/gitea/releases | grep "css-truncate-target" | grep -v "\-rc" | cut -d "v" -f 2 | cut -d "<" -f 1 | head -n 1) if [ "$gitea_local_version" = "$gitea_remote_version" ] then