Correction URL pour détection nouvelle version #5267

This commit is contained in:
Romain H 2021-03-06 15:11:46 +01:00 committed by root
parent e044a492fe
commit 816b42d91b
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
# Nagios plugin to check Firefox Send version # Nagios plugin to check Firefox Send version
# #
LAST_VERSION=$(curl --silent https://api.github.com/repos/mozilla/send/tags | jq -r '.[0].name') LAST_VERSION=$(curl --silent https://gitlab.com/api/v4/projects/21505091/repository/tags | jq -r '.[0].name')
INSTALLED_VERSION=$(jq -r '.version' /srv/drop/www/package.json) INSTALLED_VERSION=$(jq -r '.version' /srv/drop/www/package.json)
if [ -z "$LAST_VERSION" ]; then if [ -z "$LAST_VERSION" ]; then