dev-db/myodbc: fix ROOT check in pkg_postinst

With EAPI 7+, ROOT and others will be blank (not /).

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2022-04-23 03:05:56 +01:00
parent d29631d708
commit c2f0770f1e

View File

@@ -92,8 +92,7 @@ multilib_src_install_all() {
}
pkg_config() {
[ "${ROOT}" != "/" ] && \
[ -n "${ROOT}" ] && \
die 'Sorry, non-standard ROOT setting is not supported :-('
local msg='MySQL ODBC driver'