make pacman dir if needed.

This commit is contained in:
natemaia 2020-11-02 10:11:50 -08:00
parent 335d6b1a21
commit 00470e76c7

View File

@ -6,7 +6,7 @@
# AIF, Calamares, and the Arch Wiki.. Credit where credit is due
# shellcheck disable=SC2086,SC2046,SC2254,SC2164
VER=2.1.63
VER=2.1.64
# default values {
@ -2262,6 +2262,9 @@ install_background()
rsync -avh /run/archiso/sfs/airootfs/ "$MNT/" >> /tmp/bgout 2>&1
fi
mkdir -p "$MNT/etc/pacman.d"
cp -Rf /etc/pacman.d "$MNT/etc/pacman.d"
cp /etc/pacman.conf "$MNT/etc/pacman.conf"
cp /etc/pacman.d/mirrorlist "$MNT/etc/pacman.d/mirrorlist"
al_repo "$MNT/etc/pacman.conf"