File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
src/main/java/io/github/fvarrui/javapackager/gradle Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -62,16 +62,14 @@ public File apply(Packager packager) throws Exception {
6262 debTask .setPriority ("optional" );
6363 debTask .setArchStr ("amd64" );
6464 debTask .setDistribution ("development" );
65- debTask .setEpoch (0 );
6665 debTask .setRelease ("1" );
67- debTask .customField ("Section" , "misc" );
6866
6967 // installation destination
7068 debTask .into ("/opt/" + name );
7169
7270 // includes app folder files, except executable file and jre/bin/java
7371 debTask .from (appFolder , c -> {
74- c .into ("." );
72+ // c.into(".");
7573 c .exclude (executable .getName ());
7674 if (bundleJre ) {
7775 c .exclude (jreDirectoryName + "/bin/java" );
@@ -80,14 +78,14 @@ public File apply(Packager packager) throws Exception {
8078
8179 // executable
8280 debTask .from (executable , c -> {
83- c .into ("." );
81+ // c.into(".");
8482 c .setFileMode (0755 );
8583 });
8684
8785 // java binary file
8886 if (bundleJre ) {
8987 debTask .from (new File (appFolder , jreDirectoryName + "/bin/java" ), c -> {
90- c .into ("." );
88+ // c.into(".");
9189 c .setFileMode (0755 );
9290 });
9391 }
You can’t perform that action at this time.
0 commit comments