aboutsummaryrefslogtreecommitdiffstats
path: root/gtk3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'gtk3/Makefile')
-rw-r--r--gtk3/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/gtk3/Makefile b/gtk3/Makefile
index ca0e21b..06911f8 100644
--- a/gtk3/Makefile
+++ b/gtk3/Makefile
@@ -1,13 +1,11 @@
.POSIX:
-include ../common.mk
install:
mkdir -p -- ~/.config/profile.d
- test ! -d ~/.config/profile.d/gtk3
+ test ! -e ~/.config/profile.d/gtk3 || test -L ~/.config/profile.d/gtk3
ln -sf -- ~/.dotfiles/gtk3/user-profile ~/.config/profile.d/gtk3
uninstall:
+ +! ../check-installed gtk3
-unlink -- ~/.config/profile.d/gtk3
-rmdir -- ~/.config/profile.d
-
-.PHONY: install uninstall