commit:     33c441abca57d2f9c3e4641a9c4c86231e560f68
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  4 11:45:44 2022 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sun Dec  4 11:45:44 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33c441ab

sys-devel/bison: improve postinst symlink command

Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 sys-devel/bison/bison-3.8.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/bison/bison-3.8.2-r1.ebuild 
b/sys-devel/bison/bison-3.8.2-r1.ebuild
index 8a3490b4631a..ab5bfac28f04 100644
--- a/sys-devel/bison/bison-3.8.2-r1.ebuild
+++ b/sys-devel/bison/bison-3.8.2-r1.ebuild
@@ -88,6 +88,6 @@ pkg_postinst() {
        # ensure to preserve the symlinks before app-alternatives/yacc
        # is installed
        if [[ ! -h ${EROOT}/usr/bin/yacc ]]; then
-               ln -s yacc "${EROOT}/usr/bin/yacc.bison" || die
+               ln -s yacc.bison "${EROOT}/usr/bin/yacc" || die
        fi
 }

Reply via email to