Janne Vänttinen wrote:
> Is there any easier way to make Portage to install KDE 3.4.1 to a stable
> system than to add every single installed package to
> /etc/portage/package.keywords? I wouldn't mind to have the entire
> kde-base -category use test packages but I would like to keep the rest
> of the system on stable ground. So PACKAGE_KEYWORDS is not a good solution.
> 
> I tried to define packages with wildcards (like kde-base/* ~x86), with
> no luck. Is this possible?
> 
> Thanks beforehand,
> 

AFAIK you need to use a separate line for each package.

TrueDFX posted a script here:
http://forums.gentoo.org/viewtopic-p-2432900.html#2432900

PKG="=kde-3.4*" # the package you want to unmask

while [ -n "$(emerge -pv "$PKG" |
    awk '/~x86/ { print $2 }' |
    sed 's/-[0-9].*$//' |
    uniq |
    tee -a /etc/portage/package.keywords)" ]
do :
done


Zac
-- 
gentoo-user@gentoo.org mailing list

Reply via email to