You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/www-apps/netbox/files/netbox-2.6.4-no-pip.patch

22 lines
652 B

diff --git a/upgrade.sh b/upgrade.sh
index 793e72cd..8490d713 100755
--- a/upgrade.sh
+++ b/upgrade.sh
@@ -10,16 +10,6 @@ cd "$(dirname "$0")"
PYTHON="python3"
PIP="pip3"
-# Uninstall any Python packages which are no longer needed
-COMMAND="${PIP} uninstall -r old_requirements.txt -y"
-echo "Removing old Python packages ($COMMAND)..."
-eval $COMMAND
-
-# Install any new Python packages
-COMMAND="${PIP} install -r requirements.txt --upgrade"
-echo "Updating required Python packages ($COMMAND)..."
-eval $COMMAND
-
# Apply any database migrations
COMMAND="${PYTHON} netbox/manage.py migrate"
echo "Applying database migrations ($COMMAND)..."