mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
refactor
This commit is contained in:
parent
91788579dd
commit
a7d5953cf5
@ -3,7 +3,7 @@ _pkgname=pacman
|
||||
_reponame=arch
|
||||
pkgname="de-p1st-$_pkgname"
|
||||
pkgver=0.2.2
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="pacman with configuration"
|
||||
arch=('any')
|
||||
url="https://codeberg.org/privacy1st/${_reponame}"
|
||||
|
@ -9,16 +9,13 @@ stdin="$(cat)"
|
||||
# Enable parallel downloads
|
||||
echo "$stdin" | sed 's|^#ParallelDownloads\s*=.*$|ParallelDownloads = 4|'
|
||||
|
||||
printf '\n'
|
||||
|
||||
# Assert multilib is not enabled
|
||||
! echo "$stdin" | grep --quiet '^\[multilib\].*$'
|
||||
|
||||
# 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'
|
||||
|
||||
# home_ungoogled_chromium_Arch mirror
|
||||
printf 'Include = /etc/pacman.d/ungoogled-chromium\n'
|
||||
|
Loading…
Reference in New Issue
Block a user