Fix for i18n in 16.04.
authorCarl Hetherington <cth@carlh.net>
Thu, 21 Apr 2016 00:07:08 +0000 (01:07 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 21 Apr 2016 00:07:08 +0000 (01:07 +0100)
cscript

diff --git a/cscript b/cscript
index e59c8933f4eb7e17d38749bd877e3c6af5fd6c8a..5c01a713aad289ca508ee8f623a0403198f6bc78 100644 (file)
--- a/cscript
+++ b/cscript
@@ -288,7 +288,7 @@ def package_debian(target, cpu, version):
     target.set('CDIST_CONFIGURE', '"' + configure_options(target) + '"')
     if target.debug:
         target.set('CDIST_DEBUG_PACKAGE', '--dbg-package=dcpomatic-dbg')
     target.set('CDIST_CONFIGURE', '"' + configure_options(target) + '"')
     if target.debug:
         target.set('CDIST_DEBUG_PACKAGE', '--dbg-package=dcpomatic-dbg')
-    if target.version in ['15.04', '15.10', '8']:
+    if target.version in ['15.04', '15.10', '16.04', '8']:
         target.set('CDIST_LOCALE_PREFIX', '/usr/share/locale')
     else:
         target.set('CDIST_LOCALE_PREFIX', '/usr/local/share/locale')
         target.set('CDIST_LOCALE_PREFIX', '/usr/share/locale')
     else:
         target.set('CDIST_LOCALE_PREFIX', '/usr/local/share/locale')