1-get-initial-setup-working #2

Merged
hygienic-books merged 92 commits from 1-get-initial-setup-working into main 2023-03-05 03:02:48 +00:00
Showing only changes of commit 58919e0d7f - Show all commits

View File

@ -388,9 +388,14 @@ function create_unpriv_user () {
}
function unleash_makepkg () {
local path_prefix
path_prefix='/mnt'
if we_are_changerooted; then
path_prefix=''
fi
sed -ri \
-e 's'$'\x1''^(#?(MAKEFLAGS=))[^\r\n\f]*'$'\x1''\2"-j$(nproc --ignore 1)"'$'\x1''g' \
'/mnt/etc/makepkg.conf'
"${path_prefix}"'/etc/makepkg.conf'
}
function get_aur_helper () {