commit:     b2915fbe5a96f4133f618fec3e9dc65c482d7dbc
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 14 05:45:21 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Feb 14 06:51:13 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2915fbe

media-sound/cava: cleanup unnecessary patsub

Formerly this was a mean to ensure REPLACING_VERSIONS had only
one element for ver_test, but this is not using ver_test anymore.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 media-sound/cava/cava-0.10.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/cava/cava-0.10.3-r1.ebuild 
b/media-sound/cava/cava-0.10.3-r1.ebuild
index d889ed577fb5..38de91a71537 100644
--- a/media-sound/cava/cava-0.10.3-r1.ebuild
+++ b/media-sound/cava/cava-0.10.3-r1.ebuild
@@ -82,7 +82,7 @@ src_configure() {
 }
 
 pkg_postinst() {
-       if [[ ! ${REPLACING_VERSIONS##* } ]]; then
+       if [[ ! ${REPLACING_VERSIONS} ]]; then
                elog "A default ~/.config/cava/config will be created after 
initial"
                elog "use of ${PN}, see it and 
${EROOT}/usr/share/doc/${PF}/README*"
                elog "for configuring audio input and more."

Reply via email to