start-moksha | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit ffe090403ed1ccb97366d6b8681220df5a3d90c2
Author: Luke Macken <lmacken(a)redhat.com>
Date: Tue Mar 15 16:21:30 2011 -0400
Tweak start-moksha to work with newer versions of Shove
diff --git a/start-moksha b/start-moksha
index 0e9e847..5938070 100755
--- a/start-moksha
+++ b/start-moksha
@@ -19,7 +19,9 @@ if [ ! $VIRTUAL_ENV ]; then
# Hack around Shove's hard SQLAlchemy requirement :(
easy_install -U Shove
- sed -i -e 's/SQLAlchemy==0\.4/SQLAlchemy/'
tg2env/lib/python*/site-packages/shove-*.egg/EGG-INFO/requires.txt
+ if [ -f tg2env/lib/python*/site-packages/shove-*.egg/EGG-INFO/requires.txt ];
then
+ sed -i -e 's/SQLAlchemy==0\.4/SQLAlchemy/'
tg2env/lib/python*/site-packages/shove-*.egg/EGG-INFO/requires.txt
+ fi
easy_install -U SQLAlchemy
easy_install Paver
easy_install Twisted
Show replies by date