mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-24 01:16:05 +01:00
8 lines
320 B
Plaintext
8 lines
320 B
Plaintext
|
#!/bin/sh
|
||
|
# stdin: default config
|
||
|
# stdout: modified config
|
||
|
|
||
|
# replace all occurrences of "mirrorlist" with "de-p1st-mirrorlist"
|
||
|
sed 's|^Include\s*=\s*/etc/pacman.d/mirrorlist$|Include = /etc/pacman.d/de-p1st-mirrorlist|'
|
||
|
sed 's|^#\s*Include\s*=\s*/etc/pacman.d/mirrorlist$|#Include = /etc/pacman.d/de-p1st-mirrorlist|'
|