mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
update mirrorlist
This commit is contained in:
parent
c6255e0172
commit
a3a2f07dc2
@ -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
|
||||||
}
|
}
|
||||||
|
@ -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|'
|
|
Loading…
Reference in New Issue
Block a user