[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg-rpm (was: status of Progeny projects)

On Sun, 26 Oct 2003, Bob Proulx wrote:

> You mean like this?
>   #!/bin/sh
>   trap 'rm -rf $TMPDIR' 0
>   TMPDIR=$(mktemp -d -t rpm2tar.XXXXXXXXXX) || exit 1
>   rpm2cpio "$1" | (cd $TMPDIR && cpio -idm)
>   (cd $TMPDIR && tar cf - .)
> I fail to see why this command would be very useful.  One can work
> with the cpio format as easily as one can work with the tar format.

There is more to dpkg-deb then just outputing the data.tar.gz.

Reply to: