This commit is contained in:
Daniel Langbein 2021-09-10 16:02:25 +02:00
parent 91788579dd
commit a7d5953cf5
2 changed files with 4 additions and 7 deletions

View File

@ -3,7 +3,7 @@ _pkgname=pacman
_reponame=arch _reponame=arch
pkgname="de-p1st-$_pkgname" pkgname="de-p1st-$_pkgname"
pkgver=0.2.2 pkgver=0.2.2
pkgrel=2 pkgrel=3
pkgdesc="pacman with configuration" pkgdesc="pacman with configuration"
arch=('any') arch=('any')
url="https://codeberg.org/privacy1st/${_reponame}" url="https://codeberg.org/privacy1st/${_reponame}"

View File

@ -9,16 +9,13 @@ stdin="$(cat)"
# Enable parallel downloads # Enable parallel downloads
echo "$stdin" | sed 's|^#ParallelDownloads\s*=.*$|ParallelDownloads = 4|' echo "$stdin" | sed 's|^#ParallelDownloads\s*=.*$|ParallelDownloads = 4|'
printf '\n'
# Assert multilib is not enabled # Assert multilib is not enabled
! echo "$stdin" | grep --quiet '^\[multilib\].*$' ! echo "$stdin" | grep --quiet '^\[multilib\].*$'
# Enable multilib repository # Enable multilib repository
printf '[multilib]\nInclude = /etc/pacman.d/mirrorlist\n' printf '\n[multilib]\nInclude = /etc/pacman.d/mirrorlist\n'
# de-p1st mirror # de-p1st and home_ungoogled_chromium_Arch mirror
printf '\n'
printf 'Include = /etc/pacman.d/de-p1st\n' printf 'Include = /etc/pacman.d/de-p1st\n'
# home_ungoogled_chromium_Arch mirror
printf 'Include = /etc/pacman.d/ungoogled-chromium\n' printf 'Include = /etc/pacman.d/ungoogled-chromium\n'