diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/pacman-mirrorlist/PKGBUILD | 6 | ||||
-rw-r--r-- | core/pacman-mirrorlist/mirrorlist | 1 | ||||
-rwxr-xr-x | core/pacman-mirrorlist/update-list | 13 |
3 files changed, 17 insertions, 3 deletions
diff --git a/core/pacman-mirrorlist/PKGBUILD b/core/pacman-mirrorlist/PKGBUILD index 464ce311..7bd5201d 100644 --- a/core/pacman-mirrorlist/PKGBUILD +++ b/core/pacman-mirrorlist/PKGBUILD @@ -1,3 +1,3 @@ -pkgver=20170505 -sha256sums=('7f08a25e5980407040beb73a9a1512519a175b2b01c734b814a6b6182b57aed3') -md5sums=('a1a2d7deb8678e4b21c91374ec8b3428') +pkgver=20170523 +sha256sums=('3fe4c40abc3c2f6951a92dd37ee5414ed7a26e258795af0a3f3bf12dbcadc24f') +md5sums=('208c40ee1b9c99ffbd582ee9e4b59de3') diff --git a/core/pacman-mirrorlist/mirrorlist b/core/pacman-mirrorlist/mirrorlist index ea98600d..956d4dbd 100644 --- a/core/pacman-mirrorlist/mirrorlist +++ b/core/pacman-mirrorlist/mirrorlist @@ -4,4 +4,5 @@ ## # Server = https://mirror.archlinux32.org/$arch/$repo +# Server = http://mirror.archlinux32.oss/$arch/$repo # Server = http://32.arlm.tyzoid.com/$arch/$repo diff --git a/core/pacman-mirrorlist/update-list b/core/pacman-mirrorlist/update-list new file mode 100755 index 00000000..f1fb30f2 --- /dev/null +++ b/core/pacman-mirrorlist/update-list @@ -0,0 +1,13 @@ +#!/bin/bash + +cd "${0%/*}" + +printf "pkgver=%s\n" "$(date '+%Y%m%d')" > PKGBUILD +printf "sha256sums=('%s')\n" "$( + sha256sum mirrorlist | \ + awk '{print $1}' +)" >> PKGBUILD +printf "md5sums=('%s')\n" "$( + md5sum mirrorlist | \ + awk '{print $1}' +)" >> PKGBUILD |