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

Re: FHS, macros, and Pinstripe



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] []