Explorar el Código

Wrapped pip updates inside sudo

Jeremy Stretch hace 9 años
padre
commit
381639d4a7
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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