From a022dad04b35512f2b0461afa47f2604b5f9c892 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 6 Mar 2020 10:32:15 +0100 Subject: core/pacman-mirrorlist: set correct date in comment to not confuse others ;-) --- core/pacman-mirrorlist/PKGBUILD | 6 +++--- core/pacman-mirrorlist/mirrorlist | 2 +- core/pacman-mirrorlist/update-list | 14 +++++++++++++- 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/core/pacman-mirrorlist/PKGBUILD b/core/pacman-mirrorlist/PKGBUILD index b7a7a103..86e2bf76 100644 --- a/core/pacman-mirrorlist/PKGBUILD +++ b/core/pacman-mirrorlist/PKGBUILD @@ -1,4 +1,4 @@ # Maintainer: Erich Eckner -pkgver=20200128 -sha256sums=('9c073f73a2708e9b9603af0acc383bb9264208f7d71731b56e08d2576c5b63ae') -md5sums=('9b4114ebeb8e8d829f7e970c90bda480') +pkgver=20200306 +sha256sums=('1b8fb723d30cb4c5e957b098bb6d29c2aed44ef3d2483ece90cb03a3a7d040d4') +md5sums=('c1852514fa0d6af7c19861e6197c7782') diff --git a/core/pacman-mirrorlist/mirrorlist b/core/pacman-mirrorlist/mirrorlist index 25da37ed..733ad710 100644 --- a/core/pacman-mirrorlist/mirrorlist +++ b/core/pacman-mirrorlist/mirrorlist @@ -1,6 +1,6 @@ ## ## Arch Linux repository mirrorlist for i686 -## Generated on 2017-11-15 +## Generated on 2020-03-06 ## ## Belarus diff --git a/core/pacman-mirrorlist/update-list b/core/pacman-mirrorlist/update-list index 6da4037a..2223f9ba 100755 --- a/core/pacman-mirrorlist/update-list +++ b/core/pacman-mirrorlist/update-list @@ -2,7 +2,19 @@ cd "${0%/*}" -sed -i '/^[^#]/d' PKGBUILD +sed -i ' + 1i ##\ +## Arch Linux repository mirrorlist for i686\ +## Generated on '"$(date +%F)"'\ +##\ + + 1,/^$/d +' mirrorlist + +sed -i ' + /^[^#]/d +' PKGBUILD + printf "pkgver=%s\n" "$(date '+%Y%m%d')" >> PKGBUILD for sum_type in sha256 md5; do printf "%ssums=('%s')\n" \ -- cgit v1.2.3-70-g09d2