diff options
Diffstat (limited to 'checkVersions')
-rwxr-xr-x | checkVersions | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/checkVersions b/checkVersions index 51a4e280f..89c807132 100755 --- a/checkVersions +++ b/checkVersions @@ -257,6 +257,24 @@ then sort -V | \ tail -n1 )" + elif [ "${pkgname}" == 'pacman-mirrorlist32' ] + then + git -C "/usr/src/archlinux/packages" fetch origin >/dev/null 2>&1 + git -C "/usr/src/archlinux32/packages" fetch origin >/dev/null 2>&1 + remVer=$( + { + git -C "/usr/src/archlinux/packages" archive origin/master -- pacman-mirrorlist/repos/core-any/PKGBUILD | \ + tar -Ox | \ + grep -m1 '^pkgver=[0-9.]\+$' | \ + cut -d= -f2 + git -C "/usr/src/archlinux32/packages" archive origin/master -- core/pacman-mirrorlist/PKGBUILD | \ + tar -Ox | \ + grep -m1 '^pkgver=[0-9.]\+$' | \ + cut -d= -f2 + } | \ + sort -V | \ + tail -n1 + ) elif echo "${src}" | \ grep -q '//www\.abisource\.com/' then |