diff options
author | 2022-11-11 20:59:10 -0500 | |
---|---|---|
committer | 2022-11-11 21:49:50 -0500 | |
commit | c23364e17e393930a21c29db8b3b713aa300d98a (patch) | |
tree | e7f3ff8217a3376a2dae6d075c6a7654b89c04e0 /app-emulation/wine-staging | |
parent | app-emulation/wine-vanilla: skip deregister for rebuilds (diff) | |
download | gentoo-c23364e17e393930a21c29db8b3b713aa300d98a.tar.gz gentoo-c23364e17e393930a21c29db8b3b713aa300d98a.tar.bz2 gentoo-c23364e17e393930a21c29db8b3b713aa300d98a.zip |
app-emulation/wine-staging: 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).
Bug: https://bugs.gentoo.org/881035
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'app-emulation/wine-staging')
5 files changed, 15 insertions, 5 deletions
diff --git a/app-emulation/wine-staging/wine-staging-7.17.ebuild b/app-emulation/wine-staging/wine-staging-7.17.ebuild index 58e588d7423e..7ef3acb6f10f 100644 --- a/app-emulation/wine-staging/wine-staging-7.17.ebuild +++ b/app-emulation/wine-staging/wine-staging-7.17.ebuild @@ -350,5 +350,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-staging/wine-staging-7.18.ebuild b/app-emulation/wine-staging/wine-staging-7.18.ebuild index 58e588d7423e..7ef3acb6f10f 100644 --- a/app-emulation/wine-staging/wine-staging-7.18.ebuild +++ b/app-emulation/wine-staging/wine-staging-7.18.ebuild @@ -350,5 +350,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-staging/wine-staging-7.19.ebuild b/app-emulation/wine-staging/wine-staging-7.19.ebuild index a037d09d30ac..a344346392b7 100644 --- a/app-emulation/wine-staging/wine-staging-7.19.ebuild +++ b/app-emulation/wine-staging/wine-staging-7.19.ebuild @@ -348,5 +348,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-staging/wine-staging-7.20.ebuild b/app-emulation/wine-staging/wine-staging-7.20.ebuild index e2826938342d..9ac0bc6e5297 100644 --- a/app-emulation/wine-staging/wine-staging-7.20.ebuild +++ b/app-emulation/wine-staging/wine-staging-7.20.ebuild @@ -348,5 +348,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-staging/wine-staging-9999.ebuild b/app-emulation/wine-staging/wine-staging-9999.ebuild index e2826938342d..9ac0bc6e5297 100644 --- a/app-emulation/wine-staging/wine-staging-9999.ebuild +++ b/app-emulation/wine-staging/wine-staging-9999.ebuild @@ -348,5 +348,7 @@ pkg_postinst() { } pkg_prerm() { - nonfatal wine-eselect deregister + if [[ ${REPLACED_BY_VERSION%-r*} != ${PV} ]]; then #881035 + nonfatal wine-eselect deregister + fi } |