summaryrefslogtreecommitdiff
path: root/app-eselect/eselect-wine/eselect-wine-2.0.2.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-12-30 02:16:21 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-12-30 02:16:21 +0000
commitb7cf34e541f10778605d8740e2690d8459908ac5 (patch)
tree98d91f7ea7de88f6f7d667af0deb3ffaff5b4d5e /app-eselect/eselect-wine/eselect-wine-2.0.2.ebuild
parent8467a7e8af97ab17f54668fd7d348e68754dd0cc (diff)
gentoo auto-resync : 30:12:2022 - 02:16:21
Diffstat (limited to 'app-eselect/eselect-wine/eselect-wine-2.0.2.ebuild')
-rw-r--r--app-eselect/eselect-wine/eselect-wine-2.0.2.ebuild18
1 files changed, 1 insertions, 17 deletions
diff --git a/app-eselect/eselect-wine/eselect-wine-2.0.2.ebuild b/app-eselect/eselect-wine/eselect-wine-2.0.2.ebuild
index 87e5f10d2eaf..953f7e1c910d 100644
--- a/app-eselect/eselect-wine/eselect-wine-2.0.2.ebuild
+++ b/app-eselect/eselect-wine/eselect-wine-2.0.2.ebuild
@@ -17,20 +17,6 @@ RDEPEND="
app-admin/eselect
xdg? ( x11-misc/xdg-utils )"
-pkg_pretend() {
- # /usr/bin/wine and /usr/include/wine are removed by pkg_preinst's unset,
- # but portage currently checks collisions and errors out /before/ preinst
- if has_version '<app-eselect/eselect-wine-2' &&
- has collision-protect ${FEATURES}
- then
- eerror
- eerror "!Warning! will likely need to either disable FEATURES=collision-protect or"
- eerror "delete ${EROOT}/usr/bin/wine and ${EROOT}/usr/include/wine to merge ${P}"
- eerror "(these files should be orphaned, so default FEATURES=protect-owned is fine)"
- eerror
- fi
-}
-
src_install() {
insinto /usr/share/eselect/modules
doins wine.eselect
@@ -83,10 +69,8 @@ pkg_postinst() {
if [[ ! ${REPLACING_VERSIONS##* } ]] ||
ver_test ${REPLACING_VERSIONS##* } -lt 2; then
elog
- if [[ ${REPLACING_VERSIONS} ]]; then
+ [[ ${REPLACING_VERSIONS} ]] &&
elog "${PN} changed a bit, suggest reviewing 'eselect wine help' (and list)."
- elog "Note: if seen bin/wine or include/wine merge collisions, they are harmless."
- fi
elog "Please run '. ${EROOT}/etc/profile' to update PATH in current shells."
fi
}