diff options
| author | emmett1 <emmett1.2miligrams@protonmail.com> | 2025-05-02 15:49:55 +0000 |
|---|---|---|
| committer | emmett1 <emmett1.2miligrams@protonmail.com> | 2025-05-02 15:49:55 +0000 |
| commit | 0ae7818645ea63a8d15be6ac485afd3a99625f6a (patch) | |
| tree | 76f66183ff0a24e1160a45738a9047ee3e69068e /repos/outdated.sh | |
| parent | ee2a8db14be4968c4696836586e852deb5c6e593 (diff) | |
| download | alicelinux-0ae7818645ea63a8d15be6ac485afd3a99625f6a.tar.gz alicelinux-0ae7818645ea63a8d15be6ac485afd3a99625f6a.zip | |
updated outdated.sh script
Diffstat (limited to 'repos/outdated.sh')
| -rwxr-xr-x | repos/outdated.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/repos/outdated.sh b/repos/outdated.sh index af78350c..2dc1743e 100755 --- a/repos/outdated.sh +++ b/repos/outdated.sh @@ -1,7 +1,7 @@ #!/bin/sh fetchversion() { - curl -SsZA tmp https://repology.org/badge/latest-versions/$1.svg \ + curl -s -H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" https://repology.org/badge/latest-versions/$1.svg \ | sed 's/, /,/g' \ | tr ' ' '\n' \ | grep -Eo 'central">.*<' \ |