fixes type on a test

This commit is contained in:
Jérôme Schneider 2014-08-12 19:04:06 +02:00
parent e805d41083
commit e17dd067cd
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
. /etc/portail-citoyen/portail-citoyen2.conf
if [ $MULTITENANT_MODE = "yes" ]; then
if [ "$MULTITENANT_MODE" = "yes" ]; then
python /usr/lib/portail-citoyen/manage.py sync_schemas --all --noinput
python /usr/lib/portail-citoyen/manage.py migrate_schemas --fake --noinput
else

View File

@ -112,7 +112,7 @@ do_reload() {
do_migrate() {
log_action_msg "Applying new migrations .."
if [ $MULTITENANT_MODE = "yes" ]; then
if [ "$MULTITENANT_MODE" = "yes" ]; then
su $USER -p -c "/usr/bin/portail-citoyen-manage sync_schemas --migrate --noinput"
else
su $USER -p -c "/usr/bin/portail-citoyen-manage syncdb --migrate --noinput"