diff options
author | Mattias Andrée <maandree@kth.se> | 2021-06-25 20:34:07 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-06-25 20:34:07 +0200 |
commit | 9206039086b841fa5ac8fcca301d63ac691f5339 (patch) | |
tree | d55a7e1e0bec897237988f8b41b58185730d8b30 /texinfo | |
parent | Create ~/.var/opt and move ~/.var/{element,signal,wire} into ~/.var/opt (diff) | |
download | dotfiles-9206039086b841fa5ac8fcca301d63ac691f5339.tar.gz dotfiles-9206039086b841fa5ac8fcca301d63ac691f5339.tar.bz2 dotfiles-9206039086b841fa5ac8fcca301d63ac691f5339.tar.xz |
Fix bugs
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | texinfo/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
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 |