On Wednesday 21 December 2005 12:35, Daniel da Veiga <[EMAIL PROTECTED]> wrote about '[gentoo-user] USE flags, command line and packages.use': > Is there some easy way to > put the CURRENT USE flags that the packages in world are using at > packages.use?
for pkg in $(cat /var/lib/portage/world); do FAKE_USE=$(equery u "$pkg") USE="" for use in $FAKE_USE; do USE="$USE ${use##+}" done echo "$pkg""$USE"; done >> /etc/portage/package.use Or something like that. -- Boyd Stephen Smith Jr. [EMAIL PROTECTED] ICQ: 514984 YM/AIM: DaTwinkDaddy -- gentoo-user@gentoo.org mailing list