commit: fcdfbd6877cf396c503f78d59fa1579e9ca31ab4 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> AuthorDate: Sat Nov 12 02:00:24 2022 +0000 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> CommitDate: Sat Nov 12 02:49:50 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcdfbd68
app-emulation/wine-proton: skip deregister for rebuilds Not ideal given still doesn't handle the issue where variant can be switched rather than pick same-variant+new-version. Not to mention it further increase chances of register mismatch as it cannot update itself into a clean state (requires eselect-wine rewrite). Closes: https://bugs.gentoo.org/881035 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> app-emulation/wine-proton/wine-proton-7.0.4.ebuild | 4 +++- app-emulation/wine-proton/wine-proton-7.0.9999.ebuild | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/app-emulation/wine-proton/wine-proton-7.0.4.ebuild b/app-emulation/wine-proton/wine-proton-7.0.4.ebuild index b266c555dfea..dcb70f280da0 100644 --- a/app-emulation/wine-proton/wine-proton-7.0.4.ebuild +++ b/app-emulation/wine-proton/wine-proton-7.0.4.ebuild @@ -319,5 +319,7 @@ pkg_postinst() { } pkg_prerm() { - nonfatal wine-eselect deregister + if [[ ${REPLACED_BY_VERSION%-r*} != ${PV} ]]; then #881035 + nonfatal wine-eselect deregister + fi } diff --git a/app-emulation/wine-proton/wine-proton-7.0.9999.ebuild b/app-emulation/wine-proton/wine-proton-7.0.9999.ebuild index 93b08c4d0bfd..f97da826ab6c 100644 --- a/app-emulation/wine-proton/wine-proton-7.0.9999.ebuild +++ b/app-emulation/wine-proton/wine-proton-7.0.9999.ebuild @@ -319,5 +319,7 @@ pkg_postinst() { } pkg_prerm() { - nonfatal wine-eselect deregister + if [[ ${REPLACED_BY_VERSION%-r*} != ${PV} ]]; then #881035 + nonfatal wine-eselect deregister + fi }
