From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in www-client/links: links-2.5.ebuild |
Date: | Sun, 08 Jan 2012 11:47:29 |
Message-Id: | 20120108114719.423072004B@flycatcher.gentoo.org |
1 | ssuominen 12/01/08 11:47:19 |
2 | |
3 | Modified: links-2.5.ebuild |
4 | Log: |
5 | update the cache only with USE X |
6 | |
7 | (Portage version: 2.2.0_alpha84/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.4 www-client/links/links-2.5.ebuild |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/links/links-2.5.ebuild?rev=1.4&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/links/links-2.5.ebuild?rev=1.4&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/links/links-2.5.ebuild?r1=1.3&r2=1.4 |
15 | |
16 | Index: links-2.5.ebuild |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/www-client/links/links-2.5.ebuild,v |
19 | retrieving revision 1.3 |
20 | retrieving revision 1.4 |
21 | diff -u -r1.3 -r1.4 |
22 | --- links-2.5.ebuild 8 Jan 2012 11:44:56 -0000 1.3 |
23 | +++ links-2.5.ebuild 8 Jan 2012 11:47:19 -0000 1.4 |
24 | @@ -1,6 +1,6 @@ |
25 | # Copyright 1999-2012 Gentoo Foundation |
26 | # Distributed under the terms of the GNU General Public License v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/www-client/links/links-2.5.ebuild,v 1.3 2012/01/08 11:44:56 ssuominen Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/www-client/links/links-2.5.ebuild,v 1.4 2012/01/08 11:47:19 ssuominen Exp $ |
29 | |
30 | EAPI=4 |
31 | inherit autotools eutils fdo-mime |
32 | @@ -118,5 +118,10 @@ |
33 | use suid && fperms 4755 /usr/bin/links |
34 | } |
35 | |
36 | -pkg_postinst() { fdo-mime_desktop_database_update; } |
37 | -pkg_postrm() { fdo-mime_desktop_database_update; } |
38 | +pkg_postinst() { |
39 | + use X && fdo-mime_desktop_database_update |
40 | +} |
41 | + |
42 | +pkg_postrm() { |
43 | + use X && fdo-mime_desktop_database_update |
44 | +} |