From a68b03a23e887bc491d1c6bc4a7f5257d97f2741 Mon Sep 17 00:00:00 2001 From: Evan Morikawa Date: Mon, 4 Jan 2016 16:39:43 -0800 Subject: [PATCH] fix(build): debian packages use different share dir --- build/tasks/mkdeb-task.coffee | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build/tasks/mkdeb-task.coffee b/build/tasks/mkdeb-task.coffee index 67cd39190..58458f358 100644 --- a/build/tasks/mkdeb-task.coffee +++ b/build/tasks/mkdeb-task.coffee @@ -38,7 +38,9 @@ module.exports = (grunt) -> iconName = 'nylas' appFileName = grunt.config.get('nylasGruntConfig.appFileName') - linuxShareDir = grunt.config.get('nylasGruntConfig.linuxShareDir') + + # NOTE: For Debian packages we use /usr/share instead of /usr/local/share + linuxShareDir = path.join(installDir, "share", appFileName) getInstalledSize buildDir, (error, installedSize) -> data = {name, version, description, section, arch, maintainer, installDir, iconName, installedSize, appFileName, linuxShareDir}