Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information