summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Holland <william.holland@codethink.co.uk>2015-09-13 17:18:21 +0100
committerWilliam Holland <william.holland@codethink.co.uk>2015-09-13 17:18:21 +0100
commite5311909e53752708999b5dfcfbee14c92781566 (patch)
tree56348ced0716c262974c7d2f49942f49e97eeb7e
parent606d9b83637662128f34153f94eb215b3e6d7552 (diff)
downloaddjango-blog-master.tar.bz2
Fix name being added to start script multiple timesHEADmaster
-rw-r--r--setup.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/setup.sh b/setup.sh
index 80bbcf3..dfa82dd 100644
--- a/setup.sh
+++ b/setup.sh
@@ -14,5 +14,6 @@ cp ../source/urls.py ./$BLOGNAME/$BLOGNAME/urls.py
cd $BLOGNAME
../bin/python manage.py syncdb
cd ../..
-sed -i "s/BLOGNAME=/BLOGNAME=$BLOGNAME/g" start.sh
+sed -i "s/BLOGNAME=$/BLOGNAME=$BLOGNAME/g" start.sh
+cp source/zinnia/* $BLOGNAME-env/lib/python2.7/site-packages/zinnia/templates/zinnia/
echo "Setup complete."