aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstall.sh4
1 files changed, 3 insertions, 1 deletions
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"