[pacman-dev] bzip2 package compression
dpmcgee at gmail.com
Sat Dec 6 12:57:12 EST 2008
On Sat, Dec 6, 2008 at 9:04 AM, Mark Constable <markc at renta.net> wrote:
> I changed these in /etc/makepkg.conf to bz2 variants ages
> ago and assumed that the resulting packages would be bzip2
> compressed. When I double checked the packages they were
> still only gzip compressed even though the extension was
> tar.bz2. Everything works so I didn't pick it up but I'd be
> interested in the bandwidth saving from bzip2 compression.
> Is there a reason that a -cjf is not used in makepkg ?
case "$PKGEXT" in
*tar.gz) TAR_OPT="z" ;;
*tar.bz2) TAR_OPT="j" ;;
*) warning "$(gettext "'%s' is not a valid archive extension.")" \
The current code is a bit smarter and compresses correctly depending
on the extension.
More information about the pacman-dev