__netbox: fix --update-notify

Template script for the `configuration.py` interpreted the boolean flag
incorrectly and did the thing the user do not wanted.
This commit is contained in:
matze 2020-09-08 19:20:22 +02:00
parent 398a3da10e
commit 549feb87f9

View file

@ -272,12 +272,12 @@ EOF
if [ "$UPDATE_CHECK" != "" ]; then
cat << EOF
RELEASE_CHECK_URL = None
RELEASE_CHECK_URL = 'https://api.github.com/repos/netbox-community/netbox/releases'
EOF
else
cat << EOF
RELEASE_CHECK_URL = 'https://api.github.com/repos/netbox-community/netbox/releases'
RELEASE_CHECK_URL = None
EOF
fi