Skip to content

Commit

Permalink
fixes #327 specify xz compression for deb files explicitly
Browse files Browse the repository at this point in the history
It seems that the new default since deb 1.19/Ubuntu 21.10 is zst, which is not yet supported everywhere.
  • Loading branch information
angryziber committed Jan 18, 2022
1 parent 7987aa1 commit 605c1ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Expand Up @@ -194,7 +194,7 @@ def deb(def platform, def arch, def moreDeps = '') {
ant.arg(line: "a+x usr/bin/ipscan usr/lib/ipscan/${project.name}-${platform}-${version}.jar")
}
ant.exec(executable: 'fakeroot', dir: dist + '/..', failonerror: true) {
ant.arg(line: "dpkg-deb -b deb ${project.name}_${version}_${arch}.deb")
ant.arg(line: "dpkg-deb -Zxz -b deb ${project.name}_${version}_${arch}.deb")
}
ant.delete(dir: dist)
}
Expand Down

0 comments on commit 605c1ef

Please sign in to comment.