Skip to content

Commit

Permalink
specify deb control file when building headless to restrict dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
craigraw committed Sep 4, 2024
1 parent 49573d1 commit eabc0da
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ jlink {
}
if(os.linux) {
if(headless) {
installerOptions = ['--license-file', 'LICENSE']
installerOptions = ['--resource-dir', 'src/main/deploy/package/linux-headless/']
} else {
installerOptions += ['--resource-dir', 'src/main/deploy/package/linux/', '--linux-shortcut', '--linux-menu-group', 'Sparrow']
}
Expand Down
9 changes: 9 additions & 0 deletions src/main/deploy/package/linux-headless/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Package: sparrow
Version: 1.9.2-1
Section: utils
Maintainer: Craig Raw <[email protected]>
Priority: optional
Architecture: amd64
Provides: sparrow
Description: Sparrow
Depends: libc6, zlib1g

0 comments on commit eabc0da

Please sign in to comment.