Skip to content

Commit

Permalink
Merge branch 'fix-packaging'
Browse files Browse the repository at this point in the history
  • Loading branch information
PalmerAL committed Jun 24, 2022
2 parents 1dcd46d + 2fbf271 commit c0548da
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions scripts/buildDebian.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,6 @@ function toArch (platform) {
}
}

function toFpm (platform) {
switch (platform) {
case 'armhf':
return ['--architecture', 'armhf']
case 'arm64':
return ['--architecture', 'aarch64']
default:
return null
}
}

require('./createPackage.js')('linux', { arch: toArch(platform) }).then(function (path) {
var installerOptions = {
artifactName: 'min-${version}-${arch}.deb',
Expand Down Expand Up @@ -58,8 +47,7 @@ require('./createPackage.js')('linux', { arch: toArch(platform) }).then(function
'xdg-utils'
],
afterInstall: 'resources/postinst_script',
afterRemove: 'resources/prerm_script',
fpm: toFpm(platform)
afterRemove: 'resources/prerm_script'
}

console.log('Creating package (this may take a while)')
Expand Down

0 comments on commit c0548da

Please sign in to comment.