Browse Source

Wrapped pip updates inside sudo

Jeremy Stretch 8 years ago
parent
commit
381639d4a7
1 changed files with 2 additions and 1 deletions
  1. 2 1
      upgrade.sh

+ 2 - 1
upgrade.sh

@@ -6,7 +6,8 @@
 # gunicorn or uWSGI).
 
 # Install any new Python packages
-pip install -r requirements.txt --upgrade
+echo "Updating required Python packages (pip install -r requirements.txt --upgrade)..."
+sudo pip install -r requirements.txt --upgrade
 
 # Apply any database migrations
 ./netbox/manage.py migrate