mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
replace sed
This commit is contained in:
parent
8025968992
commit
07fcc655c1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue