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

Re: FHS, macros, and Pinstripe



Circa 2000-Sep-02 10:50:06 -0400 dixit Derald Metzger:

: > 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.)
: >
    [Jim Knoble:]
: > Unfortunately, the command is somewhat more complicated than a switch:

    [complex command to extract only doc files from an RPM package...]

  [Derald Metzger:]
: What would this do for you ?
: 
:   rpm -i --root <dir> --dbpath <dir> *

Not what Kenneth wants.  It will attempt to install all the files in
the current directory (not necessarily all of which are RPM
packages...) into a filesystem rooted at the first <dir>; the packages
will be marked as installed in the RPM database located in the second
<dir>.

Kenneth was looking for a method of installing only the documentation
files from a package (the files flagged 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] []