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 --- texinfo/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'texinfo') diff --git a/texinfo/Makefile b/texinfo/Makefile index 4bd8ed1..beaa9d7 100644 --- a/texinfo/Makefile +++ b/texinfo/Makefile @@ -11,7 +11,10 @@ install: fi uninstall: - -unlink -- ~/.config/bash/aliases.d/texinfo - -rmdir -- ~/.config/bash/aliases.d + -if ! $(CHECK_INSTALLED) info 2>/dev/null && \ + ! $(CHECK_INSTALLED) texinfo 2>/dev/null; then \ + unlink -- ~/.config/bash/aliases.d/texinfo; \ + rmdir -- ~/.config/bash/aliases.d; \ + fi .PHONY: install uninstall -- cgit v1.2.3-70-g09d2