diff --git a/scripts/create-deb.sh b/scripts/create-deb.sh index 6abab00..14303f0 100755 --- a/scripts/create-deb.sh +++ b/scripts/create-deb.sh @@ -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" 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" <