From 10607b2a6bc47c45cc7747ecb82763c978c5acbc Mon Sep 17 00:00:00 2001 From: Laurent le Beau-Martin Date: Tue, 3 Aug 2021 15:56:01 -0400 Subject: [PATCH] fix location of bash completions --- packages/exa/build.sh | 6 +++--- packages/nnn/build.sh | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/exa/build.sh b/packages/exa/build.sh index cac66db06..0633829d3 100644 --- a/packages/exa/build.sh +++ b/packages/exa/build.sh @@ -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 \ diff --git a/packages/nnn/build.sh b/packages/nnn/build.sh index d85010734..eaee07a56 100644 --- a/packages/nnn/build.sh +++ b/packages/nnn/build.sh @@ -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 \