[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: FHS, macros, and Pinstripe
- From: Jim Knoble <jmknoble pint-stowp cx>
- To: "rpm-list redhat com" <rpm-list redhat com>
- Subject: Re: FHS, macros, and Pinstripe
- Date: Sat, 2 Sep 2000 00:59:07 -0400
Circa 2000-Sep-01 15:31:28 -0700 dixit Kenneth Porter:
: Speaking of installing just to read documentation, is there an RPM
: switch to just install the %doc files? (I had the misfortune the other
: day of installing a Windows app that complained that it couldn't be
: installed due to a DLL incompatibility, and it told me to check the
: readme for a workaround. Of course, the readme isn't available until
: the program is installed! Fortunately I discovered a support newsgroup
: for the product that had an answer.)
Unfortunately, the command is somewhat more complicated than a switch:
cd /tmp
mkdir NAME-V.VV-R
cd NAME-V.VV-R
rpm2cpio NAME-V.VV-R.ARCH.rpm |cpio -idmv \
`rpm -qdp NAME-V.VV-R.ARCH.rpm |sed -e 's,^/,,'`
This should extract all files tagged with '%doc' (which, also
unfortunately, may not be all the documentation files; some man pages
aren't automatically tagged with %doc).
--
jim knoble | jmknoble@jmknoble.cx | http://www.jmknoble.cx/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]