From e98bfcfcc9e61848a99be145dd0b392bdccedb99 Mon Sep 17 00:00:00 2001 From: Marc Date: Sat, 4 Oct 2014 17:46:03 +0000 Subject: [PATCH] deploy.sh: make sure git is installed --- scripts/container/deploy.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/container/deploy.sh b/scripts/container/deploy.sh index ff3441d7..3cfc7738 100755 --- a/scripts/container/deploy.sh +++ b/scripts/container/deploy.sh @@ -16,7 +16,7 @@ normal=$(tput sgr0) } USER='orchestra' -PASSWORD="orchestra" +PASSWORD='orchestra' HOME="/home/$USER" PROJECT_NAME='panel' BASE_DIR="$HOME/$PROJECT_NAME" @@ -99,9 +99,9 @@ run "python $MANAGE restartservices" # Create a orchestra user cat <<- EOF | python $MANAGE shell from orchestra.apps.accounts.models import Account -if not Account.objects.filter(username=$USER).exists(): +if not Account.objects.filter(username="$USER").exists(): print 'Creating orchestra superuser' - Account.objects.create_superuser($USER, "'$USER@localhost'", $PASSWORD) + __ = Account.objects.create_superuser("$USER", "'$USER@localhost'", "$PASSWORD") EOF