From 00470e76c793c5d7a88f395d21dac9a08ad9e3a6 Mon Sep 17 00:00:00 2001 From: natemaia Date: Mon, 2 Nov 2020 10:11:50 -0800 Subject: [PATCH] make pacman dir if needed. --- installer | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/installer b/installer index 1364382..a30cf9e 100755 --- a/installer +++ b/installer @@ -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"