1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Jeremy Hanmer wrote: |
5 |
> you should be able to use the has_version function. More details at |
6 |
> http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml? part=2&chap=1 |
7 |
|
8 |
has_version only returns 0 or 1 depending whether the package is installed or |
9 |
not, so it's useless in this case. best_version would be a better alternative, |
10 |
however that alone won't solve the problem. |
11 |
|
12 |
Read about best_version in the ebuild(5) manual page. After you're done with |
13 |
that, read about the versionator eclass in the versionator.eclass(5) manual |
14 |
page (may have to emerge portage-manpages). You'll probably have to use a |
15 |
combination of both to do what you're trying to achieve. |
16 |
|
17 |
HTH |
18 |
|
19 |
- -- |
20 |
printk(KERN_EMERG "PCI: Tell willy he's wrong |
21 |
"); |
22 |
linux-2.6.6/arch/parisc/kernel/pci.c |
23 |
|
24 |
Aaron Walker <ka0ttic@g.o> |
25 |
[ BSD | cron | forensics | shell-tools | commonbox | netmon | vim | web-apps ] |
26 |
-----BEGIN PGP SIGNATURE----- |
27 |
Version: GnuPG v1.4.0 (GNU/Linux) |
28 |
|
29 |
iD8DBQFCJuZhC3poscuANHARAno+AJ0S4wl1FnzHKuKSeNj92CBKMsOpogCgmhrR |
30 |
9lSrUePKgaiEePdqlNVZpaM= |
31 |
=bznu |
32 |
-----END PGP SIGNATURE----- |
33 |
-- |
34 |
gentoo-dev@g.o mailing list |