mirror of
https://github.com/sharkdp/fd.git
synced 2024-11-16 00:48:28 +01:00
Create fdfind symlinks in deb package
To be consistent with the offical debian pckage
This commit is contained in:
parent
55d2e78cc1
commit
e3b7dcbb7e
1 changed files with 7 additions and 1 deletions
|
@ -57,6 +57,12 @@ install -Dm644 "LICENSE-APACHE" "${DPKG_DIR}/usr/share/doc/${DPKG_BASENAME}/LICE
|
||||||
install -Dm644 "CHANGELOG.md" "${DPKG_DIR}/usr/share/doc/${DPKG_BASENAME}/changelog"
|
install -Dm644 "CHANGELOG.md" "${DPKG_DIR}/usr/share/doc/${DPKG_BASENAME}/changelog"
|
||||||
gzip -n --best "${DPKG_DIR}/usr/share/doc/${DPKG_BASENAME}/changelog"
|
gzip -n --best "${DPKG_DIR}/usr/share/doc/${DPKG_BASENAME}/changelog"
|
||||||
|
|
||||||
|
# Create symlinks so fdfind can be used as well:
|
||||||
|
ln -s "/usr/bin/fd" "${DPKG_DIR}/usr/bin/fdfind"
|
||||||
|
ln -s './fd.bash' "${DPKG_DIR}/usr/share/bash-completion/completions/fdfind"
|
||||||
|
ln -s './fd.fish' "${DPKG_DIR}/usr/share/fish/vendor_completions.d/fdfind.fish"
|
||||||
|
ln -s './_fd' "${DPKG_DIR}/usr/share/zsh/vendor-completions/_fdfind"
|
||||||
|
|
||||||
cat > "${DPKG_DIR}/usr/share/doc/${DPKG_BASENAME}/copyright" <<EOF
|
cat > "${DPKG_DIR}/usr/share/doc/${DPKG_BASENAME}/copyright" <<EOF
|
||||||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
Upstream-Name: fd
|
Upstream-Name: fd
|
||||||
|
@ -109,7 +115,7 @@ Maintainer: ${MAINTAINER}
|
||||||
Homepage: ${REPO}
|
Homepage: ${REPO}
|
||||||
Architecture: ${DPKG_ARCH}
|
Architecture: ${DPKG_ARCH}
|
||||||
Provides: fd
|
Provides: fd
|
||||||
Conflicts: ${DPKG_CONFLICTS}
|
Conflicts: ${DPKG_CONFLICTS} fdfind
|
||||||
Description: simple, fast and user-friendly alternative to find
|
Description: simple, fast and user-friendly alternative to find
|
||||||
fd is a program to find entries in your filesystem.
|
fd is a program to find entries in your filesystem.
|
||||||
It is a simple, fast and user-friendly alternative to find.
|
It is a simple, fast and user-friendly alternative to find.
|
||||||
|
|
Loading…
Reference in a new issue