diff options
| author | Ionen Wolkens <ionen@gentoo.org> | 2025-02-16 11:57:35 -0500 |
|---|---|---|
| committer | Ionen Wolkens <ionen@gentoo.org> | 2025-02-16 12:27:15 -0500 |
| commit | 276d8e75a1710808645c4b130e6c3b80ed4968c0 (patch) | |
| tree | 6a8ff1b1cc3114a37ef60148a64c86c6fa3cbfcb /dev-python/pytest-httpserver/pytest-httpserver-1.1.1.ebuild | |
| parent | 80268840dced46c4eb9e1510e7190d5e82ae57ba (diff) | |
| download | gentoo-276d8e75a1710808645c4b130e6c3b80ed4968c0.tar.gz gentoo-276d8e75a1710808645c4b130e6c3b80ed4968c0.tar.bz2 gentoo-276d8e75a1710808645c4b130e6c3b80ed4968c0.zip | |
app-emulation/wine-*: verify eselect-wine availability in postrm
The package manager spec does not guarantee that IDEPEND will be
available in pre/postrm.
If missing, then it means there is nothing to do and eselect-wine
already cleaned the last wine version ahead of wine removal.
This could notably happen if a user emerge -C eselect-wine then
attempts to remove wine which would result in a postrm failure given
the package manager won't reinstall it during removal.
This used to be a real problem when wine used "pre"rm given `die`
would abort removal and you're left with an unremovable package,
but for a long time now wine migrated to "post"rm so this was at
most just a minor annoyance.
We can keep `|| die` for the actual call, it's good to strongly
appeal that it failed despite being in a situation where it should
have worked and, as noted, that won't block actual removal.
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-python/pytest-httpserver/pytest-httpserver-1.1.1.ebuild')
0 files changed, 0 insertions, 0 deletions
