[pacman-dev] FS #6246 - makepkg fails if the extensions is wrong on the archive

Jürgen Hötzel juergen at hoetzel.info
Mon Jan 22 13:24:47 EST 2007


On Mon, Jan 22, 2007 at 06:52:31PM +0100, Johannes Weiner wrote:
> Hi,
> 
> Signed-off-by: Johannes Weiner <hannes at saeurebad.de>

> +			cmd="bunzip2 -c $file | cpio --quiet -i" ;;
> +		    application/x-cpio*x-gzip)
> +			cmd="gunzip -c $file | cpio --quiet -i" ;;
                                                    ^^^
I would also add:

--no-absolute-filenames --make-directories

Some people distribute archives containing absolute pathnames.

Jürgen
  
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://archlinux.org/pipermail/pacman-dev/attachments/20070122/1d266442/attachment.pgp>


More information about the pacman-dev mailing list