arch/pkg/de-p1st-pacman/pacman.conf.holoscript

19 lines
473 B
Bash

#!/bin/sh
# stdin: default config
# stdout: modified config
# Enable parallel downloads
sed 's|^#ParallelDownloads\s*=.*$|ParallelDownloads = 4|'
# Assert multilib is not enabled
! echo "$stdin" | grep --quiet '^\[multilib\].*$'
# Enable multilib repository
printf '[multilib]\nInclude = /etc/pacman.d/mirrorlist\n'
# de-p1st mirror
printf 'Include = /etc/pacman.d/de-p1st\n'
# home_ungoogled_chromium_Arch mirror
printf 'Include = /etc/pacman.d/ungoogled-chromium\n'