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 @@ -48,11 +48,6 @@ public File apply(Packager packager) throws Exception {
4848 VelocityUtils .render ("linux/desktop.vtl" , desktopFile , linuxPackager );
4949 Logger .info ("Desktop file rendered in " + desktopFile .getAbsolutePath ());
5050
51- // generates deb control file from velocity template
52- File controlFile = new File (assetsFolder , "control" );
53- VelocityUtils .render ("linux/control.vtl" , controlFile , linuxPackager );
54- Logger .info ("Control file rendered in " + controlFile .getAbsolutePath ());
55-
5651 // generated deb file
5752 File debFile = new File (outputDirectory , name + "_" + version + ".deb" );
5853
@@ -62,10 +57,13 @@ public File apply(Packager packager) throws Exception {
6257 debTask .setPackageName (name .toLowerCase ());
6358 debTask .setPackageDescription (description );
6459 debTask .setPackager (organizationName );
60+ debTask .setUploaders (organizationName );
6561 debTask .setMaintainer (organizationName + (organizationEmail != null ? " <" + organizationEmail + ">" : "" ));
6662 debTask .setPriority ("optional" );
6763 debTask .setArchStr ("amd64" );
6864 debTask .setDistribution ("development" );
65+ debTask .setEpoch (0 );
66+ debTask .setRelease ("1" );
6967
7068 // installation destination
7169 debTask .into ("/opt/" + name );
You can’t perform that action at this time.
0 commit comments