summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-07-06 15:51:08 +0100
committerCarl Hetherington <cth@carlh.net>2017-07-06 15:51:08 +0100
commite7a005206b5649c9ae9b8b28f9ced04431369149 (patch)
tree6a371e5ae8ed6b4ce47f90a32369127cf43dbd4e /cscript
parent89e9793bbaeb02db7dd56ad793f10684ac75bab3 (diff)
Fix locale prefix on debian 9.
Diffstat (limited to 'cscript')
-rw-r--r--cscript6
1 files changed, 3 insertions, 3 deletions
diff --git a/cscript b/cscript
index d0e93036e..6fbe95784 100644
--- a/cscript
+++ b/cscript
@@ -363,10 +363,10 @@ 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 in ['16.04', '16.10', '17.04', '8', 'unstable']:
- target.set('CDIST_LOCALE_PREFIX', '/usr/share/locale')
- else:
+ if target.version in ['14.04']:
target.set('CDIST_LOCALE_PREFIX', '/usr/local/share/locale')
+ else:
+ target.set('CDIST_LOCALE_PREFIX', '/usr/share/locale')
target.command('dpkg-buildpackage -uc -us')