Fix CDIST_LOCALE_PREFIX for 15.10.
authorCarl Hetherington <cth@carlh.net>
Fri, 6 Nov 2015 17:19:38 +0000 (17:19 +0000)
committerCarl Hetherington <cth@carlh.net>
Fri, 6 Nov 2015 17:19:38 +0000 (17:19 +0000)
cscript

diff --git a/cscript b/cscript
index 5a71f844fbe8aa4256a546b6da05a11fe361ef54..3e6d638ebaffec994f96dd76aedc2023526fc63a 100644 (file)
--- a/cscript
+++ b/cscript
@@ -338,7 +338,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')
-    if target.version == '15.04' or target.version == '8':
+    if target.version in ['15.04', '15.10', '8']:
         target.set('CDIST_LOCALE_PREFIX', '/usr/share/locale')
     else:
         target.set('CDIST_LOCALE_PREFIX', '/usr/local/share/locale')