From 5b80b6d828de3c43a0da7b2c985e910298515a2d Mon Sep 17 00:00:00 2001 From: cd2357 Date: Thu, 3 Dec 2020 13:07:38 +0100 Subject: [PATCH] Fix issue when building deb and rpm at the same time Fixed an issue in the Linux section, which didn't allow building both rpm and deb packages at the same time. --- desktop/package/package.gradle | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/desktop/package/package.gradle b/desktop/package/package.gradle index 9374bb2071..6a07ff1035 100644 --- a/desktop/package/package.gradle +++ b/desktop/package/package.gradle @@ -251,9 +251,16 @@ task packageInstallers { " --linux-shortcut" ) + // Package deb executeCmd(jPackageFilePath + commonOpts + linuxOpts + " --linux-deb-maintainer contact@bisq.network" + " --type deb") + + // Clean jpackage temp folder, needs to be empty for the next packaging step (rpm) + jpackateTempDir.deleteDir(); + jpackateTempDir.mkdirs(); + + // Package rpm executeCmd(jPackageFilePath + commonOpts + linuxOpts + " --linux-rpm-license-type AGPLv3" + // https://fedoraproject.org/wiki/Licensing:Main?rd=Licensing#Good_Licenses " --type rpm")