mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 05:28:49 +00:00
Makefile: Add mimedb and fishd to check-legacy-binaries target
This commit is contained in:
parent
6c668868e9
commit
b2a97e4245
1 changed files with 10 additions and 0 deletions
10
Makefile.in
10
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue