1
0
mirror of https://github.com/jordansissel/fpm synced 2025-11-11 18:38:50 +01:00
fpm/lib
Andrey Tikhonov 97dfed35ae When bzip2 is used for compression, use gzip on the control.tar.
This fixes a bug where fpm would create an invalid debian package file.
When `--deb-compression bzip2` was used, fpm would create
'control.tar.bz2' file inside the debian package. Debian does not
support bzip2-compressed control files. Per the deb(5) manpage:

> The second required member is named control.tar. It is a tar archive containing the package control information, either not compressed (supported since dpkg 1.17.6), or compressed with gzip (with .gz extension) or xz (with .xz extension, supported since 1.17.6)

With this commit, when bzip2 is chosen for data compression, fpm will
use gzip compression on the control.tar file.
2021-11-02 21:40:24 -07:00
..
fpm When bzip2 is used for compression, use gzip on the control.tar. 2021-11-02 21:40:24 -07:00
fpm.rb Introduce support for snap packages (#1490) 2018-10-16 15:59:17 -07:00