summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLevente Polyak <anthraxx@archlinux.org>2022-05-17 20:57:32 +0200
committerLevente Polyak <anthraxx@archlinux.org>2022-05-17 20:57:32 +0200
commitc52fab256242168ddb678c0548c330aa3fdbc57c (patch)
treee99ed0570ee5258680f1aa0982c35680521ac723
parent54acc5872c74832a23931d86396e5f44439cdada (diff)
downloaddevtools-c52fab256242168ddb678c0548c330aa3fdbc57c.tar.xz
make: remove bash completion symlinks on uninstall
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f763283..94fe1ea 100644
--- a/Makefile
+++ b/Makefile
@@ -131,6 +131,7 @@ uninstall:
for l in ${COMMITPKG_LINKS}; do rm -f $(DESTDIR)$(PREFIX)/bin/$$l; done
for l in ${ARCHBUILD_LINKS}; do rm -f $(DESTDIR)$(PREFIX)/bin/$$l; done
for l in ${CROSSREPOMOVE_LINKS}; do rm -f $(DESTDIR)$(PREFIX)/bin/$$l; done
+ for l in ${BASHCOMPLETION_LINKS}; do rm -f $(DESTDIR)$(PREFIX)/share/bash-completion/completions/$$l; done
rm $(DESTDIR)/usr/share/bash-completion/completions/devtools
rm $(DESTDIR)$(PREFIX)/share/zsh/site-functions/_devtools
rm -f $(DESTDIR)$(PREFIX)/bin/communityco