Преглед изворни кода

Extend upgrade script to remove cached bytecode

Jeremy Stretch пре 9 година
родитељ
комит
f34a8fff6a
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      upgrade.sh

+ 3 - 0
upgrade.sh

@@ -25,3 +25,6 @@ eval $COMMAND
 
 # Collect static files
 ./netbox/manage.py collectstatic --noinput
+
+# Delete old bytecode
+find . -name "*.pyc" -delete