diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-06-15 08:29:59 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-06-15 08:29:59 +0000 |
commit | f8e16fe77e536dab430290f4da22309c3ec01169 (patch) | |
tree | 598f8d13d426fd91e188631e5338eb68c38a9b7d /media-tv | |
parent | Bug #226505 - For compatibility with phase execution order in (diff) | |
download | historical-f8e16fe77e536dab430290f4da22309c3ec01169.tar.gz historical-f8e16fe77e536dab430290f4da22309c3ec01169.tar.bz2 historical-f8e16fe77e536dab430290f4da22309c3ec01169.zip |
Bug #226505 - For compatibility with phase execution order in
>=portage-2.1.5, call has_version inside pkg_preinst instead of
pkg_postinst.
Package-Manager: portage-2.2_pre10652/cvs/Linux 2.6.25-0518-x86-64 i686
Diffstat (limited to 'media-tv')
-rw-r--r-- | media-tv/vdrplugin-rebuild/ChangeLog | 9 | ||||
-rw-r--r-- | media-tv/vdrplugin-rebuild/Manifest | 14 | ||||
-rw-r--r-- | media-tv/vdrplugin-rebuild/vdrplugin-rebuild-0.2.ebuild | 11 |
3 files changed, 27 insertions, 7 deletions
diff --git a/media-tv/vdrplugin-rebuild/ChangeLog b/media-tv/vdrplugin-rebuild/ChangeLog index 3e0ab3ecbccd..6ba2c38e4830 100644 --- a/media-tv/vdrplugin-rebuild/ChangeLog +++ b/media-tv/vdrplugin-rebuild/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-tv/vdrplugin-rebuild -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/vdrplugin-rebuild/ChangeLog,v 1.15 2007/11/27 10:40:52 zzam Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-tv/vdrplugin-rebuild/ChangeLog,v 1.16 2008/06/15 08:29:59 zmedico Exp $ + + 15 Jun 2008; Zac Medico <zmedico@gentoo.org> vdrplugin-rebuild-0.2.ebuild: + Bug #226505 - For compatibility with phase execution order in + >=portage-2.1.5, call has_version inside pkg_preinst instead of + pkg_postinst. 27 Nov 2007; Matthias Schwarzott <zzam@gentoo.org> vdrplugin-rebuild-0.2.ebuild: diff --git a/media-tv/vdrplugin-rebuild/Manifest b/media-tv/vdrplugin-rebuild/Manifest index c1a15c8926ea..482b2cca876e 100644 --- a/media-tv/vdrplugin-rebuild/Manifest +++ b/media-tv/vdrplugin-rebuild/Manifest @@ -1,4 +1,14 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX vdrplugin-rebuild-0.2 6397 RMD160 af72422b2d96501d0a975f8f3b6088511cd9c8b6 SHA1 e5a3df936e07cc8ddd6b17d8a59ccefbbe9ceea3 SHA256 be3afaad7a1de981044cf2397c816f74a0e24918bf56193213755ee8d97aa675 -EBUILD vdrplugin-rebuild-0.2.ebuild 903 RMD160 4cf510352f789b5752cc206027df2e3dacd92847 SHA1 dc626a9f70ea233fa79258a9517c693da3c0a4d3 SHA256 ac7c335ed00ef46137a86ca11bd9bf087bce7b461655a31242b950e2d18e3d9f -MISC ChangeLog 2354 RMD160 24131ec0486a5d5e49fb83a7a313bb7697282bf0 SHA1 bd68b3748da56567a466696e2f416d7126063099 SHA256 46c0ff1d947f0262ae6360d1e9f2a4e20eff401a74b8038abd1de0556c728b2b +EBUILD vdrplugin-rebuild-0.2.ebuild 993 RMD160 b9a84bc3a5015f7f4614e7021ae2f3b1c21f79a0 SHA1 4b7bb07a21a38b136065300ff42191f5f57be29a SHA256 9aeef82fd944ab3aa754a05c98a1a2bcb814e73ab636e86c9d86f0651bafc4d4 +MISC ChangeLog 2581 RMD160 161faebadddb6863c8df8f42059cbb44e6df98bf SHA1 6e9a9390b6ebf50c9086f54ddddce2ae87e7a8e4 SHA256 82ecc843605095d6f0d206065c4625208a6a37e8613bb963be8151d01c4cbcf9 MISC metadata.xml 257 RMD160 8bee49b98c59996aaaa019fb2c764c08d8004507 SHA1 d2419394e7d5c7463d7dea33e9190ebd57484531 SHA256 0dd45fbbaf1c6173535e371e3ff8a3faa41f3f89123ac9dffe338998599ebe26 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.9 (GNU/Linux) + +iEYEARECAAYFAkhU0w4ACgkQ/ejvha5XGaM9fgCeOAjYt597IqrjKnda7xyw7X+M +dp4AoLNzRYnhZlw0RhB3nby5EylTqypN +=mtxY +-----END PGP SIGNATURE----- diff --git a/media-tv/vdrplugin-rebuild/vdrplugin-rebuild-0.2.ebuild b/media-tv/vdrplugin-rebuild/vdrplugin-rebuild-0.2.ebuild index 8c7ac62e08fd..96832ae26309 100644 --- a/media-tv/vdrplugin-rebuild/vdrplugin-rebuild-0.2.ebuild +++ b/media-tv/vdrplugin-rebuild/vdrplugin-rebuild-0.2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/vdrplugin-rebuild/vdrplugin-rebuild-0.2.ebuild,v 1.6 2007/11/27 10:40:52 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/vdrplugin-rebuild/vdrplugin-rebuild-0.2.ebuild,v 1.7 2008/06/15 08:29:59 zmedico Exp $ DESCRIPTION="A utility to rebuild any plugins for vdr which you have installed." HOMEPAGE="http://www.gentoo.org/" @@ -18,8 +18,13 @@ src_install() { keepdir /usr/share/vdr/vdrplugin-rebuild } +pkg_preinst() { + has_version "<=${CATEGORY}/${PN}-0.1" + previous_less_or_equal_to_0_1=$? +} + pkg_postinst() { - if has_version "<=media-tv/vdrplugin-rebuild-0.1"; then + if [[ $previous_less_or_equal_to_0_1 = 0 ]] ; then # populate new database "${ROOT}"/usr/sbin/vdrplugin-rebuild populate |