index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-05-23 15:23:14 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-05-23 15:23:14 +0200 |
commit | 4c52d117bb5057c010ed07e92be91f9230656979 (patch) | |
tree | 5fe8b3a7a4ba52eb7da2802b242a8da8290e0543 /core/pacman-mirrorlist/update-list | |
parent | 05724639323b2d21bcc5e156fc1f69dc311eb54d (diff) |
-rwxr-xr-x | core/pacman-mirrorlist/update-list | 13 |
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 |