diff options
| author | Leah Rowe <vimuser@noreply.codeberg.org> | 2026-02-14 12:15:06 +0100 |
|---|---|---|
| committer | Leah Rowe <vimuser@noreply.codeberg.org> | 2026-02-14 12:15:06 +0100 |
| commit | fb754a187c8dab05bf948acc078c25999b6ca4b3 (patch) | |
| tree | 558bb0f21976da4827ac3c240ab629d7e8c14da2 /include | |
| parent | 8f128e6728e3486fa2c91d4610da3ab3df22249f (diff) | |
| parent | 2e98da9688e875609c7b4148f145ce995065091c (diff) | |
Merge pull request 'Add Supermicro X11SSH-F/LN4F port' (#403) from noisytoot/supermicro-x11ssh-f into master
Reviewed-on: https://codeberg.org/libreboot/lbmk/pulls/403
Diffstat (limited to 'include')
| -rw-r--r-- | include/get.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/get.sh b/include/get.sh index 39161a4a..834acd08 100644 --- a/include/get.sh +++ b/include/get.sh @@ -272,7 +272,12 @@ try_fetch_file() try_curl() { - _ua="Mozilla/5.0 (Windows NT 10.0; rv:91.0) Gecko/20100101 Firefox/91.0" + case "$2" in + https://www.supermicro.com/*) + _ua="curl/8.6.0";; + *) + _ua="Mozilla/5.0 (Windows NT 10.0; rv:91.0) Gecko/20100101 Firefox/91.0";; + esac ( x_ curl --location --retry 3 -A "$_ua" "$2" -o "$1" ) \ || ( x_ wget --tries 3 -U "$_ua" "$2" -O "$1" ) \ |
