diff options
| -rwxr-xr-x | install.sh | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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" |
