diff options
| author | Cyril Brulebois <cyril@debamax.com> | 2016-04-22 12:08:09 +0200 |
|---|---|---|
| committer | Cyril Brulebois <cyril@debamax.com> | 2016-04-22 12:08:09 +0200 |
| commit | 7f481fdfc8ce76e70bb4496c63770f8b5a9255b6 (patch) | |
| tree | 665a74d8ba981785003bbf603e475d82f9416bed | |
| parent | 2d756926c5402f30e2cae07fd139f09c51b9f933 (diff) | |
| download | Ishtar-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>
| -rw-r--r-- | debian/changelog | 2 | ||||
| -rwxr-xr-x | ishtar-prepare-instance | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index 19dac2f14..cabd53d63 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,8 @@ python-django-ishtar (0.93-1) UNRELEASED; urgency=low * Keep track of created instances in the INSTANCES file under /var/lib/python-django-ishtar and make postinst script loop over it to update instances, and restart uwsgi/nginx if appropriate. + * Fix ishtar-prepare-instance: compilemessages wasn't called in + ishtar_common/, only in archaeological_*/. -- Étienne Loks <etienne.loks@iggdrasil.net> Tue, 19 Apr 2016 22:39:29 +0200 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 - |
