mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-29 11:56:25 -06:00
Update upgrade.sh
Increasing the chance that upgrade.sh will work even if python3 is not in the usual path
This commit is contained in:
parent
3d8001ae1c
commit
d50eeaa975
@ -15,7 +15,7 @@ else
|
||||
fi
|
||||
|
||||
# Create a new virtual environment
|
||||
COMMAND="/usr/bin/python3 -m venv ${VIRTUALENV}"
|
||||
COMMAND="/usr/bin/env python3 -m venv ${VIRTUALENV}"
|
||||
echo "Creating a new virtual environment at ${VIRTUALENV}..."
|
||||
eval $COMMAND || {
|
||||
echo "--------------------------------------------------------------------"
|
||||
|
Loading…
Reference in New Issue
Block a user