commit: dc5f5393bd2a32529396f2707c17d3607c62bab9 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sat Apr 3 19:05:44 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Apr 3 19:52:48 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc5f5393
net-analyzer/nagios-plugin-check_raid: eutils--, missing dies Signed-off-by: Sam James <sam <AT> gentoo.org> ...0.10.ebuild => nagios-plugin-check_raid-4.0.10-r1.ebuild} | 12 ++++++------ ...4.0.8.ebuild => nagios-plugin-check_raid-4.0.8-r1.ebuild} | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/net-analyzer/nagios-plugin-check_raid/nagios-plugin-check_raid-4.0.10.ebuild b/net-analyzer/nagios-plugin-check_raid/nagios-plugin-check_raid-4.0.10-r1.ebuild similarity index 90% rename from net-analyzer/nagios-plugin-check_raid/nagios-plugin-check_raid-4.0.10.ebuild rename to net-analyzer/nagios-plugin-check_raid/nagios-plugin-check_raid-4.0.10-r1.ebuild index b20b26a5183..a7b1bfc31c2 100644 --- a/net-analyzer/nagios-plugin-check_raid/nagios-plugin-check_raid-4.0.10.ebuild +++ b/net-analyzer/nagios-plugin-check_raid/nagios-plugin-check_raid-4.0.10-r1.ebuild @@ -3,7 +3,7 @@ EAPI=6 -inherit eutils perl-module +inherit perl-module DESCRIPTION="Nagios/Icinga plugin to check current server's RAID status" HOMEPAGE="https://github.com/glensc/nagios-plugin-check_raid" @@ -31,22 +31,22 @@ RDEPEND="${DEPEND} megaraid-scsi? ( sys-block/megarc ) mpt-sas2? ( sys-block/sas2ircu ) mpt? ( sys-block/mpt-status ) - " +" S="${WORKDIR}/${MY_P}" src_prepare() { # Upstream has a custom Makefile that is meant to build bundles. - mv -f Makefile Makefile.upstream - sed -i '/CPANfile/d' Makefile.PL + mv -f Makefile Makefile.upstream || die + sed -i '/CPANfile/d' Makefile.PL || die default } src_install() { default plugindir="/usr/$(get_libdir)/nagios/plugins" - dodir "$plugindir" - mv -f "${D}"/usr/bin/check_raid.pl "${D}"/"${plugindir}" + dodir "${plugindir}" + mv -f "${ED}"/usr/bin/check_raid.pl "${ED}"/"${plugindir}" || die dodoc README.md CHANGELOG.md CONTRIBUTING.md check_raid.cfg } diff --git a/net-analyzer/nagios-plugin-check_raid/nagios-plugin-check_raid-4.0.8.ebuild b/net-analyzer/nagios-plugin-check_raid/nagios-plugin-check_raid-4.0.8-r1.ebuild similarity index 90% rename from net-analyzer/nagios-plugin-check_raid/nagios-plugin-check_raid-4.0.8.ebuild rename to net-analyzer/nagios-plugin-check_raid/nagios-plugin-check_raid-4.0.8-r1.ebuild index b20b26a5183..a7b1bfc31c2 100644 --- a/net-analyzer/nagios-plugin-check_raid/nagios-plugin-check_raid-4.0.8.ebuild +++ b/net-analyzer/nagios-plugin-check_raid/nagios-plugin-check_raid-4.0.8-r1.ebuild @@ -3,7 +3,7 @@ EAPI=6 -inherit eutils perl-module +inherit perl-module DESCRIPTION="Nagios/Icinga plugin to check current server's RAID status" HOMEPAGE="https://github.com/glensc/nagios-plugin-check_raid" @@ -31,22 +31,22 @@ RDEPEND="${DEPEND} megaraid-scsi? ( sys-block/megarc ) mpt-sas2? ( sys-block/sas2ircu ) mpt? ( sys-block/mpt-status ) - " +" S="${WORKDIR}/${MY_P}" src_prepare() { # Upstream has a custom Makefile that is meant to build bundles. - mv -f Makefile Makefile.upstream - sed -i '/CPANfile/d' Makefile.PL + mv -f Makefile Makefile.upstream || die + sed -i '/CPANfile/d' Makefile.PL || die default } src_install() { default plugindir="/usr/$(get_libdir)/nagios/plugins" - dodir "$plugindir" - mv -f "${D}"/usr/bin/check_raid.pl "${D}"/"${plugindir}" + dodir "${plugindir}" + mv -f "${ED}"/usr/bin/check_raid.pl "${ED}"/"${plugindir}" || die dodoc README.md CHANGELOG.md CONTRIBUTING.md check_raid.cfg }
