Fixes #6496: Fix upgrade script when Python installed in nonstandard path

This commit is contained in:
jeremystretch 2021-05-28 13:18:50 -04:00
parent 1c0f3e1b81
commit bd7bcf8a0b
2 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@
### Bug Fixes
* [#6496](https://github.com/netbox-community/netbox/issues/6496) - Fix upgrade script when Python installed in nonstandard path
* [#6502](https://github.com/netbox-community/netbox/issues/6502) - Correct permissions evaluation for running a report via the REST API
---

View File

@ -15,7 +15,7 @@ else
fi
# Create a new virtual environment
COMMAND="/usr/bin/python3 -m venv ${VIRTUALENV}"
COMMAND="python3 -m venv ${VIRTUALENV}"
echo "Creating a new virtual environment at ${VIRTUALENV}..."
eval $COMMAND || {
echo "--------------------------------------------------------------------"