Gentoo Archives: gentoo-user

From: Bo Andresen <bo.andresen@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] sudo echo
Date: Fri, 24 Mar 2006 01:21:29
Message-Id: 200603240213.51270.bo.andresen@gmail.com
In Reply to: Re: [gentoo-user] sudo echo by JimD
1 On Thursday 23 March 2006 23:48, JimD wrote:
2 > addkey()
3 > {
4 > sudo sh -c "echo $* >> /etc/portage/package.keywords"
5 > }
6
7 For keywording I prefer to use this script:
8 http://users.cybercity.dk/~dsl89966/keix
9
10 It allows me to do:
11
12 $ eix porth
13 * app-portage/porthole
14 Available versions: ~0.4.1 [M]0.5.0
15 Installed: none
16 Homepage: http://porthole.sourceforge.net
17 Description: A GTK+-based frontend to Portage
18
19
20 Found 1 matches
21 $ sudo keix porth
22 Do you wish to add '=app-portage/porthole-0.4* ~x86' to package.keywords?
23 (Yes/no)
24
25 Adding '=app-portage/porthole-0.4* ~x86' to package.keywords
26
27 $
28
29 Of course it requires that app-portage/eix is installed and updated.
30
31 --
32 Bo Andresen
33 --
34 gentoo-user@g.o mailing list