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.
This commit is contained in:
cd2357 2020-12-03 13:07:38 +01:00
parent 72a719dcc9
commit 5b80b6d828
No known key found for this signature in database
GPG Key ID: F26C56748514D0D3

View File

@ -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")