From 4c52d117bb5057c010ed07e92be91f9230656979 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 23 May 2017 15:23:14 +0200 Subject: pacman-mirrorlist: automate mirror list update procedure, add mirror.archlinux32.oss --- core/pacman-mirrorlist/update-list | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 core/pacman-mirrorlist/update-list (limited to 'core/pacman-mirrorlist/update-list') 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 -- cgit v1.2.3-70-g09d2