fix: no compress with gzip when creating deb
This commit is contained in:
parent
fc8dd81f00
commit
175943aa4d
4
makedeb
4
makedeb
|
@ -93,9 +93,9 @@ function generate_deb {
|
||||||
local control_tgz="${tmpdir}/control.tar.gz"
|
local control_tgz="${tmpdir}/control.tar.gz"
|
||||||
local debian_binary="${tmpdir}/debian-binary"
|
local debian_binary="${tmpdir}/debian-binary"
|
||||||
|
|
||||||
tar --exclude="./DEBIAN" -C "${pkgdir}" -cf "${data_tgz}" .
|
tar --gzip --exclude="./DEBIAN" -C "${pkgdir}" -cf "${data_tgz}" .
|
||||||
|
|
||||||
tar -C "${pkgdir}/DEBIAN" -cf "${control_tgz}" .
|
tar --gzip -C "${pkgdir}/DEBIAN" -cf "${control_tgz}" .
|
||||||
|
|
||||||
echo 2.0 > "${debian_binary}"
|
echo 2.0 > "${debian_binary}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue