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

@ -21,7 +21,7 @@ _pkgutil()
declare -a configuration_files=("/opt/csw/etc/pkgutil.conf" "/etc/opt/csw/pkgutil.conf")
declare -a catalog_files=()
i=$cword
local i=$cword
while [[ $((i--)) -gt 1 ]]; do
if [[ "${words[$i]}" == -@(t|-temp) ]]; then
local url="${words[$((i+1))]}"
@ -66,7 +66,7 @@ _pkgutil()
if [[ -n "$command" ]] && [[ ! "$cur" == -* ]]; then
local mirrors mirror_url
mirrors=$(awk -F= ' $1 ~ /^ *mirror *$/ { print $2 }' ${configuration_files[@]})
mirrors=$(awk -F= ' $1 ~ /^ *mirror *$/ { print $2 }' "${configuration_files[@]}")
mirrors=${mirrors:-http://mirror.opencsw.org/opencsw/testing}
for mirror_url in $mirrors; do
local catalog=$(_pkgutil_url2catalog "$mirror_url")