This commit is contained in:
Daniel Langbein 2021-04-22 16:08:28 +02:00
parent 6adc8685b6
commit a68199c035
2 changed files with 3 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.2 pkgver=0.0.3
pkgrel=1 pkgrel=1
pkgdesc="selected Arch Linux mirrors" pkgdesc="selected Arch Linux mirrors"
arch=('any') arch=('any')

View File

@ -3,5 +3,5 @@
# 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|' sed 's|^Include\s*=\s*/etc/pacman.d/mirrorlist$|Include = /etc/pacman.d/de-p1st-mirrorlist|' || exit
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