From 633a1dd71140ec2c3ca4729c79d47f9593d2fc2e Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Sun, 13 May 2018 01:37:03 +0200 Subject: [PATCH] bash-completion: Update from 2.7 to 2.8 --- packages/bash-completion/build.sh | 4 ++-- packages/bash-completion/completions-man.patch | 15 +++++++-------- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/packages/bash-completion/build.sh b/packages/bash-completion/build.sh index a073a1e2b..657a8aab6 100644 --- a/packages/bash-completion/build.sh +++ b/packages/bash-completion/build.sh @@ -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 diff --git a/packages/bash-completion/completions-man.patch b/packages/bash-completion/completions-man.patch index cebe2afcc..d5d5745f5 100644 --- a/packages/bash-completion/completions-man.patch +++ b/packages/bash-completion/completions-man.patch @@ -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