Mombu the GNU Linux Forum sponsored links

Go Back   Mombu the GNU Linux Forum > GNU_Linux > restore package.keywords?
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 3rd October 04:06
alan bailward
External User
 
Posts: 1
Default restore package.keywords?



Just in case anyone was wondering, and for the archives, here's the full
solution, thanks to those who responded:

find /var/db/pkg/ -name \*.ebuild -print | xargs egrep "^KEYWORDS.*~x86"
| sed -e 's!/var/db/pkg/!!g' | sed -e 's/.ebuild:KEY.*//g' | sed -e
's/-[0-9][0-9]*.*/ ~x86/g' | sort -u > package.keywords-NEW

With linebreaks removed as appropriate

Seems to work for me anyway, the end result looks a lot like what I had
before.
alan --
Alan <alan@ufies.org> - http://arcterex.net
--------------------------------------------------------------------
"There are only 3 real sports: bull-fighting, car racing and mountain
climbing. All the others are mere games." -- Hemingway

--
gentoo-user@gentoo.org mailing list
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666