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
|
# stdout: modified config
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# save stdin (content of /etc/mkinitcpio.conf) in variable
|
# save stdin in variable
|
||||||
stdin="$(cat)"
|
stdin="$(cat)"
|
||||||
|
|
||||||
# assert MODULES is empty
|
# assert MODULES is empty
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
_pkgname=pacman
|
_pkgname=pacman
|
||||||
_reponame=arch
|
_reponame=arch
|
||||||
pkgname="de-p1st-$_pkgname"
|
pkgname="de-p1st-$_pkgname"
|
||||||
pkgver=0.2.3
|
pkgver=0.2.4
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="pacman with configuration"
|
pkgdesc="pacman with configuration"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
# stdout: modified config
|
# stdout: modified config
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# save stdin (content of /etc/mkinitcpio.conf) in variable
|
# save stdin in variable
|
||||||
stdin="$(cat)"
|
stdin="$(cat)"
|
||||||
|
|
||||||
# Enable parallel downloads
|
# Enable parallel downloads
|
||||||
@ -15,6 +15,9 @@ echo "$stdin" | sed 's|^#ParallelDownloads\s*=.*$|ParallelDownloads = 4|'
|
|||||||
# Enable multilib repository
|
# Enable multilib repository
|
||||||
printf '\n[multilib]\nInclude = /etc/pacman.d/mirrorlist\n'
|
printf '\n[multilib]\nInclude = /etc/pacman.d/mirrorlist\n'
|
||||||
|
|
||||||
|
# Assert de-p1st is not enabled
|
||||||
|
! echo "$stdin" | grep --quiet '^\[de-p1st\].*$'
|
||||||
|
|
||||||
# de-p1st mirror
|
# de-p1st mirror
|
||||||
printf '\n'
|
printf '\n'
|
||||||
printf 'Include = /etc/pacman.d/de-p1st\n'
|
printf 'Include = /etc/pacman.d/de-p1st\n'
|
||||||
|
Loading…
Reference in New Issue
Block a user