Skip to content

Commit

Permalink
Fix snap audit fail die to duplicate assumes
Browse files Browse the repository at this point in the history
  • Loading branch information
lkishalmi committed Sep 3, 2024
1 parent 1d41103 commit 762966c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
4 changes: 1 addition & 3 deletions snap-packages/from-source/snapcraft-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,14 @@ description: |@SNAP_DISCLAIMER@
It is free and open source and has a large community of users and developers
around the world.
It requires Java 8 or later Java Development Kit installed.
It requires Java 17 or later Java Development Kit installed.
icon: snap/gui/frame512.png
confinement: classic
grade: @SNAP_GRADE@
base: core22
architectures: [ amd64 ]
compression: lzo
assumes:
- command-chain
version: "@SNAP_VERSION@"

parts:
Expand Down
2 changes: 1 addition & 1 deletion snap-packages/from-zip/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
Creating a Release:
ant -Dreleaase.version=<version> -Drelease.binary=<URL> snap-rel
ant -Drelease.version=<version> -Drelease.binary=<URL> snap-rel
]]></echo>
</target>

Expand Down
4 changes: 1 addition & 3 deletions snap-packages/from-zip/snapcraft-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ description: |@SNAP_DISCLAIMER@
It is free and open source and has a large community of users and developers
around the world.
It requires Java 11 or later Java Development Kit installed.
It requires Java 17 or later Java Development Kit installed.
icon: snap/gui/frame512.png
confinement: classic
Expand All @@ -37,8 +37,6 @@ architectures:
- build-on: [ amd64 ]
build-for: [ arm64 ]
compression: lzo
assumes:
- command-chain

version: "@SNAP_VERSION@"

Expand Down

0 comments on commit 762966c

Please sign in to comment.