aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'wine.eselect')
-rw-r--r--wine.eselect7
1 files changed, 5 insertions, 2 deletions
diff --git a/wine.eselect b/wine.eselect
index 42c6bac..720c24d 100644
--- a/wine.eselect
+++ b/wine.eselect
@@ -336,10 +336,13 @@ wine-legacy_checks() {
return 1
fi
- if [[ -d ${WINEREL}/usr/lib64/${slot} ]]; then
+ # older wine ebuilds split between lib{,32} and lib64, this is unsupported
+ if [[ -d ${WINEREL}/usr/lib64/${slot} ]] &&
+ [[ ! -L ${WINEREL}/usr/lib || -d ${WINEREL}/usr/lib32/${slot} ]]
+ then
write_warning_msg "ignored legacy installation at ${EROOT}/usr/lib64/${slot}"
[[ -e ${WINEREL}/usr/bin/${slot} ]] &&
- write_warning_msg "should still be usable by calling versioned ${EROOT}/usr/bin/${slot}"
+ write_warning_msg "-> should still be usable by calling the versioned ${EROOT}/usr/bin/${slot}"
return 1
fi
}