Gentoo Archives: gentoo-user

From: "Boyd Stephen Smith Jr." <bss03@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] USE flags, command line and packages.use
Date: Wed, 21 Dec 2005 21:01:01
Message-Id: 200512211450.47344.bss03@volumehost.com
In Reply to: [gentoo-user] USE flags, command line and packages.use by Daniel da Veiga
1 On Wednesday 21 December 2005 12:35, Daniel da Veiga
2 <danieldaveiga@×××××.com> wrote about '[gentoo-user] USE flags, command
3 line and packages.use':
4 > Is there some easy way to
5 > put the CURRENT USE flags that the packages in world are using at
6 > packages.use?
7
8 for pkg in $(cat /var/lib/portage/world); do
9 FAKE_USE=$(equery u "$pkg")
10 USE=""
11 for use in $FAKE_USE; do
12 USE="$USE ${use##+}"
13 done
14 echo "$pkg""$USE";
15 done >> /etc/portage/package.use
16
17 Or something like that.
18
19 --
20 Boyd Stephen Smith Jr.
21 bss03@××××××××××.com
22 ICQ: 514984 YM/AIM: DaTwinkDaddy
23 --
24 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] USE flags, command line and packages.use "Boyd Stephen Smith Jr." <bss03@××××××××××.com>