From 13323a603edd0e4b962c361f33e71ab00d1a381d Mon Sep 17 00:00:00 2001 From: Mitchell Riedstra Date: Tue, 23 Jan 2024 20:27:48 -0500 Subject: Ignore X utilities on Darwin --- install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index b87822f..e4d5b64 100755 --- a/install.sh +++ b/install.sh @@ -35,7 +35,9 @@ for _f in bin/* ; do setLink -s "$src" -d "$dest" done -if [ -n "$DISPLAY" ] && [ "$XDG_SESSION_TYPE" != "wayland" ] ; then +if [ "$(uname)" != "Darwin" ] \ + && [ -n "$DISPLAY" ] && [ "$XDG_SESSION_TYPE" != "wayland" ] ; then + if ! [ -d "$HOME/x" ] ; then mkdir "$HOME/x" ; fi for _f in x/* ; do src="$(pwd)/$_f" -- cgit v1.2.3