mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
de-p1st-pacman: check for [de-p1st] repo
This commit is contained in:
parent
d98416fefc
commit
d116797130
@ -3,7 +3,7 @@
|
||||
# stdout: modified config
|
||||
set -e
|
||||
|
||||
# save stdin (content of /etc/mkinitcpio.conf) in variable
|
||||
# save stdin in variable
|
||||
stdin="$(cat)"
|
||||
|
||||
# assert MODULES is empty
|
||||
|
@ -2,7 +2,7 @@
|
||||
_pkgname=pacman
|
||||
_reponame=arch
|
||||
pkgname="de-p1st-$_pkgname"
|
||||
pkgver=0.2.3
|
||||
pkgver=0.2.4
|
||||
pkgrel=1
|
||||
pkgdesc="pacman with configuration"
|
||||
arch=('any')
|
||||
|
@ -3,7 +3,7 @@
|
||||
# stdout: modified config
|
||||
set -e
|
||||
|
||||
# save stdin (content of /etc/mkinitcpio.conf) in variable
|
||||
# save stdin in variable
|
||||
stdin="$(cat)"
|
||||
|
||||
# Enable parallel downloads
|
||||
@ -15,6 +15,9 @@ echo "$stdin" | sed 's|^#ParallelDownloads\s*=.*$|ParallelDownloads = 4|'
|
||||
# Enable multilib repository
|
||||
printf '\n[multilib]\nInclude = /etc/pacman.d/mirrorlist\n'
|
||||
|
||||
# Assert de-p1st is not enabled
|
||||
! echo "$stdin" | grep --quiet '^\[de-p1st\].*$'
|
||||
|
||||
# de-p1st mirror
|
||||
printf '\n'
|
||||
printf 'Include = /etc/pacman.d/de-p1st\n'
|
||||
|
Loading…
Reference in New Issue
Block a user