commit:     48f401be40c6ba371f891cf4c86fab50548333e3
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 15 15:46:52 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sat Feb 15 15:49:18 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48f401be

app-emulation/wine-vanilla: fix wine64 dosym guard

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

 app-emulation/wine-vanilla/wine-vanilla-9999.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild 
b/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild
index 21d68c9d3d07..88708ce71147 100644
--- a/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild
+++ b/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild
@@ -366,8 +366,9 @@ src_install() {
 
        # "wine64" is no longer provided, but a keep symlink for old scripts
        # TODO: remove the guard later, only useful for bisecting -9999
-       [[ -e ${ED}${WINE_PREFIX}/bin/wine64 ]] ||
+       if [[ ! -e ${ED}${WINE_PREFIX}/bin/wine64 ]]; then
                use abi_x86_64 && dosym wine ${WINE_PREFIX}/bin/wine64
+       fi
 
        use perl || rm "${ED}"${WINE_DATADIR}/man/man1/wine{dump,maker}.1 \
                "${ED}"${WINE_PREFIX}/bin/{function_grep.pl,wine{dump,maker}} 
|| die

Reply via email to