Paul de Vrieze wrote:
>use this script to make a nice list of all packages
>
>cd /usr/portage
>find -name "*.ebuild" |cut -d "/" -f 2,3 |sort |uniq >~/packages
>
>Make sure your distfiles dir is empty. And for each item in this list do an
>emerge -f -e <item>

xargs is probably your friend here.  It reads from standard input;
breaking it into words and runs a program with those words as
parameters. e.g.

  find -name "*.ebuild" | cut -d "/" -f 2,3 | sort | uniq | xargs emerge -f -e

Would save you from manually running `emerge' on each package listed -
probably a few hundred.

Hope that helps,
  Sam

--
[EMAIL PROTECTED] mailing list

Reply via email to