update mirrorlist

This commit is contained in:
Daniel Langbein 2021-07-02 11:48:00 +02:00
parent c6255e0172
commit a3a2f07dc2
3 changed files with 2 additions and 8 deletions

View File

@ -2,7 +2,7 @@
_pkgname=pacman-mirrorlist _pkgname=pacman-mirrorlist
_reponame=arch _reponame=arch
pkgname="de-p1st-$_pkgname" pkgname="de-p1st-$_pkgname"
pkgver=0.0.7 pkgver=0.0.8
pkgrel=1 pkgrel=1
pkgdesc="selected Arch Linux mirrors" pkgdesc="selected Arch Linux mirrors"
arch=('any') arch=('any')
@ -19,5 +19,5 @@ package() {
install -Dm0644 de-p1st-mirrorlist "$pkgdir"/etc/pacman.d/de-p1st-mirrorlist install -Dm0644 de-p1st-mirrorlist "$pkgdir"/etc/pacman.d/de-p1st-mirrorlist
install -Dm0544 pacman.conf.holoscript "$pkgdir"/usr/share/holo/files/"$pkgname"/etc/pacman.conf.holoscript install -Dm0644 mirrorlist "$pkgdir"/usr/share/holo/files/"$pkgname"/etc/pacman.d/mirrorlist
} }

View File

@ -1,6 +0,0 @@
#!/bin/sh
# stdin: default config
# stdout: modified config
# replace all occurrences of "mirrorlist" with "de-p1st-mirrorlist"
sed 's|^Include\s*=\s*/etc/pacman.d/mirrorlist$|Include = /etc/pacman.d/de-p1st-mirrorlist|; s|^#\s*Include\s*=\s*/etc/pacman.d/mirrorlist$|#Include = /etc/pacman.d/de-p1st-mirrorlist|'