+
+# GitWeb adds a top directory to the snapshot, let's remove it.
+if [ ! -e .gitignore ]
+then
+ WRAPPER="`ls`"
+ mv "$WRAPPER/"* "$WRAPPER/".gitignore .
+ rmdir "$WRAPPER"
+fi
+
+chmod +x "$DJANGO_ROOT"/manage.py
+mv "$DJANGO_ROOT/$PROJECT/localsettings.py.dev" "$DJANGO_ROOT/$PROJECT/localsettings.py"