bash-completion: update to 2.9

This commit is contained in:
Leonid Pliushch 2019-05-02 15:32:24 +03:00
parent fddb17f159
commit e5862ab8fc
2 changed files with 6 additions and 6 deletions

View File

@ -1,8 +1,8 @@
TERMUX_PKG_HOMEPAGE=https://github.com/scop/bash-completion
TERMUX_PKG_DESCRIPTION="Programmable completion for the bash shell"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_VERSION=2.8
TERMUX_PKG_SHA256=c01f5570f5698a0dda8dc9cfb2a83744daa1ec54758373a6e349bd903375f54d
TERMUX_PKG_VERSION=2.9
TERMUX_PKG_SHA256=d48fe378e731062f479c5f8802ffa9d3c40a275a19e6e0f6f6cc4b90fa12b2f5
TERMUX_PKG_SRCURL=https://github.com/scop/bash-completion/releases/download/${TERMUX_PKG_VERSION}/bash-completion-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_DEPENDS="bash"
TERMUX_PKG_PLATFORM_INDEPENDENT=yes

View File

@ -1,11 +1,11 @@
diff -u -r ../bash-completion-2.8/completions/man ./completions/man
--- ../bash-completion-2.8/completions/man 2018-03-17 01:02:23.000000000 +0100
+++ ./completions/man 2018-05-13 01:31:56.406265511 +0200
diff -uNr bash-completion-2.9/completions/man bash-completion-2.9.mod/completions/man
--- bash-completion-2.9/completions/man 2019-04-27 11:54:49.000000000 +0300
+++ bash-completion-2.9.mod/completions/man 2019-05-02 15:36:06.454990217 +0300
@@ -51,8 +51,7 @@
return
fi
- local manpath=$( manpath 2>/dev/null || command man -w 2>/dev/null )
- local manpath=$(manpath 2>/dev/null || command man -w 2>/dev/null)
- [[ -z $manpath ]] && manpath="/usr/share/man:/usr/local/share/man"
+ local manpath="@TERMUX_PREFIX@/share/man"