diff options
author | 2012-11-01 09:57:33 +0000 | |
---|---|---|
committer | 2012-11-01 09:57:33 +0000 | |
commit | 9c8467f3a57598c10ad5779f702926a8a85baec0 (patch) | |
tree | d6793cf297e4ac23bd7bddab1ee9056f8c07b12d /sys-apps | |
parent | Fixes bug #437700. Thanks to Alexander Tsoy <alexander@tsoy.me> for the (diff) | |
download | gentoo-2-9c8467f3a57598c10ad5779f702926a8a85baec0.tar.gz gentoo-2-9c8467f3a57598c10ad5779f702926a8a85baec0.tar.bz2 gentoo-2-9c8467f3a57598c10ad5779f702926a8a85baec0.zip |
Use REPLACING_VERSIONS to hide old information in pkg_postinst() wrt #440534 by "poletti.marco"
(Portage version: 2.2.0_alpha135/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/pciutils/ChangeLog | 6 | ||||
-rw-r--r-- | sys-apps/pciutils/pciutils-3.1.10.ebuild | 12 |
2 files changed, 12 insertions, 6 deletions
diff --git a/sys-apps/pciutils/ChangeLog b/sys-apps/pciutils/ChangeLog index 1f14ffa95346..fcdcaa643def 100644 --- a/sys-apps/pciutils/ChangeLog +++ b/sys-apps/pciutils/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-apps/pciutils # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/ChangeLog,v 1.209 2012/10/02 12:55:22 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/ChangeLog,v 1.210 2012/11/01 09:57:33 ssuominen Exp $ + + 01 Nov 2012; Samuli Suominen <ssuominen@gentoo.org> pciutils-3.1.10.ebuild: + Use REPLACING_VERSIONS to hide old information in pkg_postinst() wrt #440534 + by "poletti.marco" 02 Oct 2012; Anthony G. Basile <blueness@gentoo.org> pciutils-3.1.10.ebuild: stable arm, bug #436186 diff --git a/sys-apps/pciutils/pciutils-3.1.10.ebuild b/sys-apps/pciutils/pciutils-3.1.10.ebuild index a2ce476baa27..76b60d4392ee 100644 --- a/sys-apps/pciutils/pciutils-3.1.10.ebuild +++ b/sys-apps/pciutils/pciutils-3.1.10.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/pciutils-3.1.10.ebuild,v 1.3 2012/10/02 12:55:22 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/pciutils-3.1.10.ebuild,v 1.4 2012/11/01 09:57:33 ssuominen Exp $ EAPI="4" @@ -75,8 +75,10 @@ src_install() { } pkg_postinst() { - elog "The 'pcimodules' program has been replaced by 'lspci -k'" - elog "" - elog "The 'network-cron' USE flag is gone; if you want a more up-to-date" - elog "pci.ids file, you should use sys-apps/hwids-99999999 (live ebuild)." + if [[ ${REPLACING_VERSIONS} ]] && [[ ${REPLACING_VERSIONS} < 3.1.10 ]]; then + elog "The 'pcimodules' program has been replaced by 'lspci -k'" + elog "" + elog "The 'network-cron' USE flag is gone; if you want a more up-to-date" + elog "pci.ids file, you should use sys-apps/hwids-99999999 (live ebuild)." + fi } |