bash-completion: Update from 2.7 to 2.8

This commit is contained in:
Fredrik Fornwall 2018-05-13 01:37:03 +02:00
parent 698f578ce9
commit 633a1dd711
2 changed files with 9 additions and 10 deletions

View File

@ -1,7 +1,7 @@
TERMUX_PKG_HOMEPAGE=https://github.com/scop/bash-completion
TERMUX_PKG_DESCRIPTION="Programmable completion for the bash shell"
TERMUX_PKG_VERSION=2.7
TERMUX_PKG_VERSION=2.8
TERMUX_PKG_SHA256=c01f5570f5698a0dda8dc9cfb2a83744daa1ec54758373a6e349bd903375f54d
TERMUX_PKG_SRCURL=https://github.com/scop/bash-completion/releases/download/${TERMUX_PKG_VERSION}/bash-completion-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=41ba892d3f427d4a686de32673f35401bc947a7801f684127120cdb13641441e
TERMUX_PKG_DEPENDS="bash"
TERMUX_PKG_PLATFORM_INDEPENDENT=yes

View File

@ -1,14 +1,13 @@
diff -u -r ../bash-completion-2.5/completions/man ./completions/man
--- ../bash-completion-2.5/completions/man 2016-09-04 17:26:26.000000000 +0200
+++ ./completions/man 2017-05-25 21:59:14.472791735 +0200
@@ -57,9 +57,7 @@
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
@@ -51,8 +51,7 @@
return
fi
local manpath="$MANPATH"
- [[ -z $manpath ]] && \
- 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"
+ [[ -z $manpath ]] && manpath="@TERMUX_PREFIX@/share/man"
+ local manpath="@TERMUX_PREFIX@/share/man"
# determine manual section to search
local sect