fixes type on a test
This commit is contained in:
parent
e805d41083
commit
e17dd067cd
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Reference in New Issue