[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: RFE: Other "Everything" installs
- From: Howard Owen <hbo egbok com>
- To: rhl-devel-list redhat com
- Subject: Re: RFE: Other "Everything" installs
- Date: 07 Aug 2003 02:05:37 -0700
The rpm command you need is rpm -q --qf %{FILELANGS} <package>.
On my severn system:
hbo mycop|1016> rpm -q --qf %{FILELANGS} kde-i18n-British
en_GB
hbo mycop|1017>
Whereas:
hbo mycop|1017> rpm -q --qf %{FILELANGS} openssh
hbo mycop|1018>
So, no output for packages without "FILELANGS". I haven't looked into
whether FILELANGS corresponds to to %lang, but I assume it does.
On Thu, 2003-08-07 at 01:32, Chuck Wolber wrote:
> > > Apparently you aren't familiar with the %lang macro?
> >
> > Thanks for the pointer; I wasn't.
> >
> > But the problem in this context is more with how you export that
> > information out of the packages, so that you can say to give a toggle to
> > the installer that you want all packages with %lang FOO or %lang
> > unspecified (implying english).
>
> I'm not familiar with the commandline options, but IIRC you can tease out
> %lang information from a package using the rpm command. I suspect that it
> may require some basic grep'ing and whatnot.
>
> -Chuck
--
Howard Owen "Even if you are on the right
EGBOK Consultants track, you'll get run over if you
hbo egbok com +1-650-339-5733 just sit there." - Will Rogers
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]