diff options
author | David Adam <zanchey@ucc.gu.uwa.edu.au> | 2015-07-24 15:56:21 +0800 |
---|---|---|
committer | David Adam <zanchey@ucc.gu.uwa.edu.au> | 2015-07-25 12:27:27 +0800 |
commit | b2a97e4245ee3799ea768ca15fafda03510d8e6a (patch) | |
tree | 5cc4de964263ba32335fa1e7255e2f2de853f940 /Makefile.in | |
parent | 6c668868e95fafb730552fd7567a0a6e3786c368 (diff) |
Makefile: Add mimedb and fishd to check-legacy-binaries target
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index 5329c68d..9717b4a7 100644 --- a/Makefile.in +++ b/Makefile.in @@ -554,6 +554,16 @@ check-legacy-binaries: echo "An outdated set_color from a previous fish install was found. You should remove it with:";\ echo " rm '$$SETCOLOR_LOC'";\ fi; + @MIMEDB_LOC=$(prefix)/bin/mimedb;\ + if test -x "$$MIMEDB_LOC" && $$MIMEDB_LOC --version 2>&1 | grep -q "^mimedb, version "; then\ + echo "An outdated mimedb binary from a prevoius fish install was found. You should remove it with:";\ + echo " rm '$$MIMEDB_LOC'";\ + fi; + @FISHD_LOC=$(prefix)/bin/fishd;\ + if test -x "$$FISHD_LOC" && $$FISHD_LOC --version 2>&1 | grep -q "^fishd: fishd, version "; then\ + echo "An outdated fishd binary from a prevoius fish install was found. You should remove it with:";\ + echo " rm '$$FISHD_LOC'";\ + fi; @true; .PHONY: check-legacy-binaries |