Correction URL pour détection nouvelle version #5267
This commit is contained in:
parent
e044a492fe
commit
816b42d91b
@ -3,7 +3,7 @@
|
||||
# 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)
|
||||
|
||||
if [ -z "$LAST_VERSION" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user