fix location of bash completions

This commit is contained in:
Laurent le Beau-Martin 2021-08-03 15:56:01 -04:00 committed by Henrik Grimler
parent f5c2cea155
commit 10607b2a6b
2 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="A modern replacement for ls"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.10.1
TERMUX_PKG_REVISION=1
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://github.com/ogham/exa/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=ff0fa0bfc4edef8bdbbb3cabe6fdbd5481a71abbbcc2159f402dea515353ae7c
TERMUX_PKG_DEPENDS="zlib, libgit2"
@ -25,14 +25,14 @@ termux_step_post_make_install() {
# but they were moved after the release
if [ -f 'completions/completions.bash' ]; then
install -Dm600 completions/completions.bash \
$TERMUX_PREFIX/share/bash-completions/exa
$TERMUX_PREFIX/share/bash-completion/completions/exa
install -Dm600 completions/completions.fish \
$TERMUX_PREFIX/share/fish/completions/exa.fish
install -Dm600 completions/completions.zsh \
$TERMUX_PREFIX/share/zsh/site-functions/_exa
else
install -Dm600 completions/bash/exa \
$TERMUX_PREFIX/share/bash-completions/exa
$TERMUX_PREFIX/share/bash-completion/completions/exa
install -Dm600 completions/fish/exa.fish \
$TERMUX_PREFIX/share/fish/completions/exa.fish
install -Dm600 completions/zsh/_exa \

View File

@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Free, fast, friendly file browser"
TERMUX_PKG_LICENSE="BSD 2-Clause"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=4.2
TERMUX_PKG_REVISION=1
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://github.com/jarun/nnn/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=5675f9fe53bddfd92681ef88bf6c0fab3ad897f9e74dd6cdff32fe1fa62c687f
TERMUX_PKG_DEPENDS="debianutils, file, findutils, readline, wget, libandroid-support, lzip"
@ -11,7 +11,7 @@ TERMUX_PKG_BUILD_IN_SRC=true
termux_step_post_make_install() {
install -Dm600 misc/auto-completion/bash/nnn-completion.bash \
$TERMUX_PREFIX/share/bash-completions/nnn
$TERMUX_PREFIX/share/bash-completion/completions/nnn
install -Dm600 misc/auto-completion/fish/nnn.fish \
$TERMUX_PREFIX/share/fish/completions/nnn.fish
install -Dm600 misc/auto-completion/zsh/_nnn \