Updated msys2 to msys2-base-x86_64-20200903

This commit is contained in:
Gator96100 2020-09-07 18:14:14 +02:00
commit 2307d54cb1
18501 changed files with 1684082 additions and 720361 deletions

View file

@ -4,13 +4,13 @@ _lintian_tags()
{
local match search tags
tags=$( awk '/^Tag/ { print $2 }' /usr/share/lintian/checks/*.desc )
tags=$(awk '/^Tag/ { print $2 }' /usr/share/lintian/checks/*.desc)
if [[ "$cur" == *, ]]; then
search=${cur//,/ }
for item in $search; do
match=$( command grep -nE "^Tag: $item$" \
/usr/share/lintian/checks/*.desc | cut -d: -f1 )
tags=$( command sed -e "s/\<$item\>//g" <<<$tags )
match=$(command grep -nE "^Tag: $item$" \
/usr/share/lintian/checks/*.desc | cut -d: -f1)
tags=$(command sed -e "s/\<$item\>//g" <<<$tags)
done
COMPREPLY+=( $(compgen -W "$tags") )
elif [[ "$cur" == *,* ]]; then
@ -24,16 +24,16 @@ _lintian_checks()
{
local match search todisable checks
checks=$( awk '/^(Check-Script|Abbrev)/ { print $2 }' \
/usr/share/lintian/checks/*.desc )
checks=$(awk '/^(Check-Script|Abbrev)/ { print $2 }' \
/usr/share/lintian/checks/*.desc)
if [[ "$cur" == *, ]]; then
search=${cur//,/ }
for item in $search; do
match=$( command grep -nE "^(Check-Script|Abbrev): $item$" \
/usr/share/lintian/checks/*.desc | cut -d: -f1 )
todisable=$( awk '/^(Check-Script|Abbrev)/ { print $2 }' $match )
match=$(command grep -nE "^(Check-Script|Abbrev): $item$" \
/usr/share/lintian/checks/*.desc | cut -d: -f1)
todisable=$(awk '/^(Check-Script|Abbrev)/ { print $2 }' $match)
for name in $todisable; do
checks=$( command sed -e "s/\<$name\>//g" <<<$checks )
checks=$(command sed -e "s/\<$name\>//g" <<<$checks)
done
done
COMPREPLY+=( $(compgen -W "$checks") )
@ -48,14 +48,14 @@ _lintian_infos()
{
local match search infos
infos=$( awk '/^Collector/ { print $2 }' \
/usr/share/lintian/collection/*.desc )
infos=$(awk '/^Collector/ { print $2 }' \
/usr/share/lintian/collection/*.desc)
if [[ "$cur" == *, ]]; then
search=${cur//,/ }
for item in $search; do
match=$( command grep -nE "^Collector: $item$" \
/usr/share/lintian/collection/*.desc | cut -d: -f1 )
infos=$( command sed -e "s/\<$item\>//g" <<<$infos )
match=$(command grep -nE "^Collector: $item$" \
/usr/share/lintian/collection/*.desc | cut -d: -f1)
infos=$(command sed -e "s/\<$item\>//g" <<<$infos)
done
COMPREPLY+=( $(compgen -W "$infos") )
elif [[ "$cur" == *,* ]]; then
@ -149,15 +149,22 @@ _lintian_info()
_init_completion || return
case "$prev" in
--help|--profile)
return
;;
-t|--tags)
_lintian_tags
return 0
return
;;
--include-dir)
_filedir -d
return
;;
esac
case "$cur" in
--*)
COMPREPLY=($(compgen -W "--annotate --help --tags" -- "$cur"))
COMPREPLY=( $(compgen -W '$(_parse_help "$1")' -- "$cur") )
;;
*)
_filedir