diff options
Diffstat (limited to 'dconf/Makefile')
-rw-r--r-- | dconf/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dconf/Makefile b/dconf/Makefile index 41b756a..b98a8ae 100644 --- a/dconf/Makefile +++ b/dconf/Makefile @@ -1,17 +1,17 @@ .POSIX: -include ../common.mk XINITRC_ORDER = 10 install: mkdir -p -- ~/.config/X11/xinit/xinitrc.d - test ! -d ~/.config/X11/xinit/xinitrc.d/$(XINITRC_ORDER)-dconf + test ! -e ~/.config/X11/xinit/xinitrc.d/$(XINITRC_ORDER)-dconf || \ + test -L ~/.config/X11/xinit/xinitrc.d/$(XINITRC_ORDER)-dconf ln -sf -- ~/.dotfiles/dconf/xinit ~/.config/X11/xinit/xinitrc.d/$(XINITRC_ORDER)-dconf uninstall: + +! ../check-installed dconf + +! ../check-installed dconf-cli -unlink -- ~/.config/X11/xinit/xinitrc.d/$(XINITRC_ORDER)-dconf -rmdir -- ~/.config/X11/xinit/xinitrc.d -rmdir -- ~/.config/X11/xinit -rmdir -- ~/.config/X11 - -.PHONY: install uninstall |