__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:
parent
398a3da10e
commit
549feb87f9
1 changed files with 2 additions and 2 deletions
|
@ -272,12 +272,12 @@ EOF
|
||||||
|
|
||||||
if [ "$UPDATE_CHECK" != "" ]; then
|
if [ "$UPDATE_CHECK" != "" ]; then
|
||||||
cat << EOF
|
cat << EOF
|
||||||
RELEASE_CHECK_URL = None
|
RELEASE_CHECK_URL = 'https://api.github.com/repos/netbox-community/netbox/releases'
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
else
|
else
|
||||||
cat << EOF
|
cat << EOF
|
||||||
RELEASE_CHECK_URL = 'https://api.github.com/repos/netbox-community/netbox/releases'
|
RELEASE_CHECK_URL = None
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue