Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-03-06 10:32:15 +0100
committerErich Eckner <git@eckner.net>2020-03-06 10:32:15 +0100
commita022dad04b35512f2b0461afa47f2604b5f9c892 (patch)
tree28f12b42f1c82348ba37ce62836e9ad9a5da0c2b
parentf71aeb3f4a1a046e104312ae02cac226abaa024a (diff)
core/pacman-mirrorlist: set correct date in comment to not confuse others ;-)
-rw-r--r--core/pacman-mirrorlist/PKGBUILD6
-rw-r--r--core/pacman-mirrorlist/mirrorlist2
-rwxr-xr-xcore/pacman-mirrorlist/update-list14
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 <deep42thought@archlinux32.org>
-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" \