replace sed

This commit is contained in:
Tobias Powalowski 2024-06-25 21:42:18 +02:00
parent 8025968992
commit 07fcc655c1

View file

@ -248,7 +248,7 @@ _x86_64_pacman_restore() {
_fix_network() {
echo "Fix network settings in ${1}..."
# enable parallel downloads
sed -i -e 's:^#ParallelDownloads:ParallelDownloads:g' "${1}"/etc/pacman.conf
sd '^#ParallelDownloads' 'ParallelDownloads' "${1}"/etc/pacman.conf
# fix network in container
rm "${1}"/etc/resolv.conf
echo "nameserver 8.8.8.8" > "${1}"/etc/resolv.conf