summaryrefslogtreecommitdiff
path: root/ishtar-prepare-instance
diff options
context:
space:
mode:
authorCyril Brulebois <cyril@debamax.com>2016-04-22 12:08:09 +0200
committerCyril Brulebois <cyril@debamax.com>2016-04-22 12:08:09 +0200
commit7f481fdfc8ce76e70bb4496c63770f8b5a9255b6 (patch)
tree665a74d8ba981785003bbf603e475d82f9416bed /ishtar-prepare-instance
parent2d756926c5402f30e2cae07fd139f09c51b9f933 (diff)
downloadIshtar-7f481fdfc8ce76e70bb4496c63770f8b5a9255b6.tar.bz2
Ishtar-7f481fdfc8ce76e70bb4496c63770f8b5a9255b6.zip
Make ishtare-prepare-instance call compilemessages in ishtar_common too.
This is the likely cause for missing translations right after an instance is created, which appear once "dpkg-reconfigure python-django-ishtar" is called. Checking the logic implemented in the postinst script makes sense and using the same steps in ishtare-prepare-instance would be nice. Signed-off-by: Cyril Brulebois <cyril@debamax.com>
Diffstat (limited to 'ishtar-prepare-instance')
-rwxr-xr-xishtar-prepare-instance2
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar-prepare-instance b/ishtar-prepare-instance
index 0bd74d375..00b28a3ec 100755
--- a/ishtar-prepare-instance
+++ b/ishtar-prepare-instance
@@ -47,7 +47,7 @@ cd -
# Only language available:
LOCALE=fr
-for d in archaeological_*; do
+for d in archaeological_* ishtar_common; do
cd $d
django-admin compilemessages -l $LOCALE
cd -