This commit is contained in:
Daniel Langbein 2021-04-22 16:11:11 +02:00
parent a68199c035
commit c2389dd343
2 changed files with 2 additions and 3 deletions

View File

@ -2,7 +2,7 @@
_pkgname=pacman-mirrorlist _pkgname=pacman-mirrorlist
_reponame=arch-pkg _reponame=arch-pkg
pkgname="de-p1st-$_pkgname" pkgname="de-p1st-$_pkgname"
pkgver=0.0.3 pkgver=0.0.4
pkgrel=1 pkgrel=1
pkgdesc="selected Arch Linux mirrors" pkgdesc="selected Arch Linux mirrors"
arch=('any') arch=('any')

View File

@ -3,5 +3,4 @@
# stdout: modified config # stdout: modified config
# replace all occurrences of "mirrorlist" with "de-p1st-mirrorlist" # 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|' || exit sed 's|^Include\s*=\s*/etc/pacman.d/mirrorlist$|Include = /etc/pacman.d/de-p1st-mirrorlist|; sed 's|^#\s*Include\s*=\s*/etc/pacman.d/mirrorlist$|#Include = /etc/pacman.d/de-p1st-mirrorlist|'
sed 's|^#\s*Include\s*=\s*/etc/pacman.d/mirrorlist$|#Include = /etc/pacman.d/de-p1st-mirrorlist|' || exit