index : devops | |
Archlinux32 devs' convenience-scripts | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2020-11-20 20:40:31 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-11-20 20:40:31 +0100 |
commit | 8a810faa934216e7e0476da143ea2965d858d281 (patch) | |
tree | c0d5dc11fd2fd0b44b463a627bdc1b2cfcc5aa18 /check-linux-versions | |
parent | 6423d3160ffded927957ffff00dfcc27f2c37937 (diff) |
-rwxr-xr-x | check-linux-versions | 12 |
diff --git a/check-linux-versions b/check-linux-versions index e39fb47..7ad8306 100755 --- a/check-linux-versions +++ b/check-linux-versions @@ -4,9 +4,15 @@ for a in i486 i686 pentium4; do for r in core extra community testing community-testing staging community-staging; do for k in '' '-lts' '-pae' '-zen'; do kernels=$( - find /mnt/archlinux32/${a}/${r} \ - -name 'linux*.zst' \ - -printf '%f\n' \ + curl -Ss "https://mirror.archlinux32.org/${a}/${r}/${r}.db" \ + | bsdtar -Oxf - \ + | sed -n ' + /^%FILENAME%/ { + N + s@^%FILENAME%\n@@ + p + } + ' \ | grep "^linux${k}"'\(\|-docs\|-headers\)-[0-9]' ) || continue kernels=$( |