From 07f212fd182556a9452b4bfc0c315d0381741e71 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Sat, 21 May 2016 18:50:33 +0200 Subject: [PATCH] Pmodules/libpbuild.bash: print warning if Xquarz is not installed if OS is Mac OS X --- Pmodules/libpbuild.bash | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Pmodules/libpbuild.bash b/Pmodules/libpbuild.bash index a57d3ad..f2ff936 100644 --- a/Pmodules/libpbuild.bash +++ b/Pmodules/libpbuild.bash @@ -147,8 +147,9 @@ pbuild::set_initial_path() { PATH='/usr/bin:/bin:/usr/sbin:/sbin' if [[ "${OS}" == "Darwin" ]]; then - # :FIXME: why do we need this? - [[ -d "/opt/X11/bin" ]] && PATH+=':/opt/X11/bin' + # :FIXME: do we really need this? + [[ -d "/opt/X11/bin" ]] && PATH+=':/opt/X11/bin' || \ + std::info "Xquarz is not installed in '/opt/X11'" fi }