mirror of
https://codeberg.org/kiss-community/kiss
synced 2025-01-21 18:04:40 -07:00
kiss-outdated: change curl's user-agent from the default
Repology seems to have started to reply to curl with 403, but changing the user-agent fixes it.
This commit is contained in:
parent
aff0d16469
commit
a8d5e0f73f
@ -363,7 +363,7 @@ get_outdated() {
|
|||||||
|
|
||||||
mkcd "$tmp/${repo##*/}"
|
mkcd "$tmp/${repo##*/}"
|
||||||
|
|
||||||
curl -SsZ --parallel-max 16 --remote-name-all "$@" ||
|
curl -SsZA 'kiss-outdated' --parallel-max 16 --remote-name-all "$@" ||
|
||||||
die 'fatal: network error'
|
die 'fatal: network error'
|
||||||
|
|
||||||
for _pkg in "$OLDPWD"/*/; do
|
for _pkg in "$OLDPWD"/*/; do
|
||||||
|
Loading…
Reference in New Issue
Block a user