From 9206039086b841fa5ac8fcca301d63ac691f5339 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 25 Jun 2021 20:34:07 +0200 Subject: Fix bugs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libcontacts/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'libcontacts') diff --git a/libcontacts/Makefile b/libcontacts/Makefile index 1f246e3..262f283 100644 --- a/libcontacts/Makefile +++ b/libcontacts/Makefile @@ -12,6 +12,10 @@ install: fi uninstall: - -unlink -- ~/.config/contacts + -if ! $(CHECK_INSTALLED) libcontacts 2>/dev/null && \ + ! $(CHECK_INSTALLED) libcontacts-glibc 2>/dev/null && \ + ! $(CHECK_INSTALLED) libcontacts-musl 2>/dev/null; then \ + unlink -- ~/.config/contacts; \ + fi .PHONY: install uninstall -- cgit v1.2.3-70-g09d2