index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2020-03-06 10:32:15 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-03-06 10:32:15 +0100 |
commit | a022dad04b35512f2b0461afa47f2604b5f9c892 (patch) | |
tree | 28f12b42f1c82348ba37ce62836e9ad9a5da0c2b /core/pacman-mirrorlist/update-list | |
parent | f71aeb3f4a1a046e104312ae02cac226abaa024a (diff) |
-rwxr-xr-x | core/pacman-mirrorlist/update-list | 14 |
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" \ |