Fix bug inside package()

This commit is contained in:
Sayantan Santra 2022-11-19 23:42:41 -06:00
parent fe8a92f72c
commit fbb6d2838d

View file

@ -22,8 +22,8 @@ package() {
cd "./bat-$version-x86_64-unknown-linux-musl" cd "./bat-$version-x86_64-unknown-linux-musl"
install -Dm755 "./bat" "${pkgdir}/usr/local/bin/bat" install -Dm755 "./bat" "${pkgdir}/usr/local/bin/bat"
install -Dm644 "./bat.1" "${pkgdir}/usr/local/share/man/man1/bat.1" install -Dm644 "./bat.1" "${pkgdir}/usr/local/share/man/man1/bat.1"
install -Dm644 "./autocomplete/bat.fish" "/usr/share/fish/completions/bat.fish" install -Dm644 "./autocomplete/bat.fish" "${pkgdir}/usr/share/fish/completions/bat.fish"
install -Dm644 "./autocomplete/bat.zsh" "/usr/share/zsh/site-functions/_bat" install -Dm644 "./autocomplete/bat.zsh" "${pkgdir}/usr/share/zsh/site-functions/_bat"
install -Dm644 "./autocomplete/bat.bash" "/usr/share/bash-completion/completions/bat" install -Dm644 "./autocomplete/bat.bash" "${pkgdir}/usr/share/bash-completion/completions/bat"
} }