Speaker

Steven Pritchard steve at silug.org
Sun Mar 14 18:01:20 UTC 2004


On Sat, Mar 13, 2004 at 07:43:18PM -0600, Chris Adams wrote:
> Boy, looking into an old RPM is not easy.  RPM 4.2 won't read an RPM v2
> package, and my shell script version of rpm2cpio choked on it as well.

Back in those days I used a script like this (since I wasn't running
Red Hat yet):

  perl -e '$/="\x1f\x8b"; $_=<>; print $/; $/=undef; $_=<>; print;' \
    | gzip -cd | cpio -vid

Steve
-- 
Steven Pritchard - K&S Pritchard Enterprises, Inc.
Email: steve at kspei.com             http://www.kspei.com/
Phone: (618)398-7360               Mobile: (618)567-7320





More information about the fedora-devel-list mailing list