mirror of
https://github.com/Gator96100/ProxSpace.git
synced 2025-08-19 21:03:25 -07:00
Updated msys2 to msys2-base-x86_64-20200903
This commit is contained in:
parent
5bc8dbdc75
commit
2307d54cb1
18501 changed files with 1684082 additions and 720361 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue