File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,12 @@ install -Dm644 "LICENSE-APACHE" "${DPKG_DIR}/usr/share/doc/${DPKG_BASENAME}/LICE
57
57
install -Dm644 " CHANGELOG.md" " ${DPKG_DIR} /usr/share/doc/${DPKG_BASENAME} /changelog"
58
58
gzip -n --best " ${DPKG_DIR} /usr/share/doc/${DPKG_BASENAME} /changelog"
59
59
60
+ # Create symlinks so fdfind can be used as well:
61
+ ln -s " /usr/bin/fd" " ${DPKG_DIR} /usr/bin/fdfind"
62
+ ln -s ' ./fd.bash' " ${DPKG_DIR} /usr/share/bash-completion/completions/fdfind"
63
+ ln -s ' ./fd.fish' " ${DPKG_DIR} /usr/share/fish/vendor_completions.d/fdfind.fish"
64
+ ln -s ' ./_fd' " ${DPKG_DIR} /usr/share/zsh/vendor-completions/_fdfind"
65
+
60
66
cat > " ${DPKG_DIR} /usr/share/doc/${DPKG_BASENAME} /copyright" << EOF
61
67
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
62
68
Upstream-Name: fd
@@ -109,7 +115,7 @@ Maintainer: ${MAINTAINER}
109
115
Homepage: ${REPO}
110
116
Architecture: ${DPKG_ARCH}
111
117
Provides: fd
112
- Conflicts: ${DPKG_CONFLICTS}
118
+ Conflicts: ${DPKG_CONFLICTS} fdfind
113
119
Description: simple, fast and user-friendly alternative to find
114
120
fd is a program to find entries in your filesystem.
115
121
It is a simple, fast and user-friendly alternative to find.
You can’t perform that action at this time.
0 commit comments