testing: strongTNC does not come with django.db any more

This commit is contained in:
Andreas Steffen
2016-12-17 18:09:20 +01:00
parent 3c1e5ad6ce
commit 470e61ae77
4 changed files with 18 additions and 3 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/bin/sh
cd /var/www/tnc
if [ -f django.db ]
then
exit 0
fi
./manage.py migrate --database meta
./manage.py setpassword strongSwan strongSwan
./manage.py collectstatic --noinput
chmod g+w django.db
exit 0