commit:     b7e806ed91395be5be56875a35e71e1f166603a7
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 14 16:16:51 2025 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Feb 15 09:26:45 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7e806ed

sys-fs/dmraid: Fix incorrect REPLACING_VERSIONS usage

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 sys-fs/dmraid/dmraid-1.0.0_rc16-r7.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-fs/dmraid/dmraid-1.0.0_rc16-r7.ebuild 
b/sys-fs/dmraid/dmraid-1.0.0_rc16-r7.ebuild
index 8cde1ac36db2..f395de4ffa33 100644
--- a/sys-fs/dmraid/dmraid-1.0.0_rc16-r7.ebuild
+++ b/sys-fs/dmraid/dmraid-1.0.0_rc16-r7.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit flag-o-matic autotools linux-info
+inherit eapi9-ver flag-o-matic autotools linux-info
 
 MY_PV=${PV/_/.}-3
 
@@ -100,7 +100,7 @@ pkg_postinst() {
                elog "\t genkernel --dmraid all"
        fi
        # skip this message if this revision has already been emerged
-       if [[ " ${REPLACING_VERSIONS} " != *\ ${PVR}\ * ]]; then
+       if ! ver_replacing -eq ${PVR}; then
                elog
                elog "A pre-patched distfile of this version of DMRAID has been 
installed at"
                elog "/usr/share/${PN}/${PN}-${MY_PV}-prepatched.tar.bz2 , to 
support using it within a"

Reply via email to