fix(build): debian packages use different share dir

This commit is contained in:
Evan Morikawa 2016-01-04 16:39:43 -08:00
parent 247bb15ab4
commit a68b03a23e

View file

@ -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}