From a7d5953cf5426d42b401e2e6ca947f15adb97c07 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Fri, 10 Sep 2021 16:02:25 +0200 Subject: [PATCH] refactor --- pkg/de-p1st-pacman/PKGBUILD | 2 +- pkg/de-p1st-pacman/pacman.conf.holoscript | 9 +++------ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/pkg/de-p1st-pacman/PKGBUILD b/pkg/de-p1st-pacman/PKGBUILD index 4e28f23..75fd692 100644 --- a/pkg/de-p1st-pacman/PKGBUILD +++ b/pkg/de-p1st-pacman/PKGBUILD @@ -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}" diff --git a/pkg/de-p1st-pacman/pacman.conf.holoscript b/pkg/de-p1st-pacman/pacman.conf.holoscript index 3d75ab7..9e249e2 100644 --- a/pkg/de-p1st-pacman/pacman.conf.holoscript +++ b/pkg/de-p1st-pacman/pacman.conf.holoscript @@ -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'