Hi,

> You are lucky this problem looked interesting to me! ;->

I'm also lucky it did ;-) .

> Here is a script that will:
>
> 1. Scan the package database
> 2. Examine the USE flags from when packages were merged, the USE
> flags that the package knows about, and the current global USE flags.
> 3. Output package names and the use flag settings that need to be in
> /etc/portage/package.use to account for the difference between the
> global flags and what was in effect when the package was merged.
>
> Save it as mkpkguse.sh and run it with "sh mkpkguse.sh".

thanks a bunch for sharing. That's really nice of you!

> Disclaimer: I think this works correctly, but I don't guarantee
> anything.  If it breaks, you get to keep the pieces.

I promise I will not complain if it wipes my hard drive :) .


Thanks & best regards


ce

-- 
gentoo-user@gentoo.org mailing list

Reply via email to