aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wine.eselect2
1 files changed, 1 insertions, 1 deletions
diff --git a/wine.eselect b/wine.eselect
index 46610ea..e8ce744 100644
--- a/wine.eselect
+++ b/wine.eselect
@@ -30,7 +30,7 @@ wine-run() {
# try to warn about about missing PATH, but stay quiet with doas/sudo
# given may be using a temporary secure PATH (also skip with update
- # given PATH is not updated when ran from ebuilds in pkg_postinst)
+ # as the PATH may not always be updated in ebuild phases yet)
[[ ${PATH} == @(|*:)"${EPREFIX}${WINEETC}/bin"*(/)@(|:*) ||
-v DOAS_USER || -v SUDO_USER || ${1} == wine-update ]] ||
write_warning_msg "'${EPREFIX}${WINEETC}/bin' missing from PATH, may need to run '. ${EROOT}/etc/profile'"