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 |