Skip to content

Commit 4395d4b

Browse files
committed
Update GenerateDeb.java
1 parent 5b40172 commit 4395d4b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/main/java/io/github/fvarrui/javapackager/gradle/GenerateDeb.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ public File apply(Packager packager) throws Exception {
3131
return null;
3232
}
3333

34-
Logger.warn("Sorry! " + getArtifactName() + " generation is not yet available");
35-
3634
File assetsFolder = linuxPackager.getAssetsFolder();
3735
String name = linuxPackager.getName();
3836
String description = linuxPackager.getDescription();
@@ -102,6 +100,9 @@ public File apply(Packager packager) throws Exception {
102100

103101
// symbolic link in /usr/local/bin to app binary
104102
debTask.link("/usr/local/bin/" + name, "/opt/" + name + "/" + name, 0777);
103+
104+
// runs deb task
105+
debTask.getActions().forEach(action -> action.execute(debTask));
105106

106107
return debFile;
107108

0 commit comments

Comments
 (0)