diff options
author | Mattias Andrée <maandree@kth.se> | 2024-05-06 09:53:43 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2024-05-06 09:53:43 +0200 |
commit | 16c57bb791a1fc76b8b00894e29c050681809402 (patch) | |
tree | 5627d8bf0ed3767956caf89d28eabb6155ff8879 /open-vm-tools/Makefile | |
parent | m (diff) | |
download | dotfiles-16c57bb791a1fc76b8b00894e29c050681809402.tar.gz dotfiles-16c57bb791a1fc76b8b00894e29c050681809402.tar.bz2 dotfiles-16c57bb791a1fc76b8b00894e29c050681809402.tar.xz |
...
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | open-vm-tools/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/open-vm-tools/Makefile b/open-vm-tools/Makefile new file mode 100644 index 0000000..c09adeb --- /dev/null +++ b/open-vm-tools/Makefile @@ -0,0 +1,16 @@ +.POSIX: + +XINITRC_ORDER = 95 + +install: + mkdir -p -- ~/.config/X11/xinit/xinitrc.d + test ! -e ~/.config/X11/xinit/xinitrc.d/$(XINITRC_ORDER)-open-vm-tools || \ + test -L ~/.config/X11/xinit/xinitrc.d/$(XINITRC_ORDER)-open-vm-tools + ln -sf -- ~/.dotfiles/open-vm-tools/xinit ~/.config/X11/xinit/xinitrc.d/$(XINITRC_ORDER)-open-vm-tools + +uninstall: + +! ../check-installed open-vm-tools + -unlink -- ~/.config/X11/xinit/xinitrc.d/$(XINITRC_ORDER)-open-vm-tools + -rmdir -- ~/.config/X11/xinit/xinitrc.d + -rmdir -- ~/.config/X11/xinit + -rmdir -- ~/.config/X11 |