make pacman dir if needed.
This commit is contained in:
parent
335d6b1a21
commit
00470e76c7
@ -6,7 +6,7 @@
|
|||||||
# AIF, Calamares, and the Arch Wiki.. Credit where credit is due
|
# AIF, Calamares, and the Arch Wiki.. Credit where credit is due
|
||||||
|
|
||||||
# shellcheck disable=SC2086,SC2046,SC2254,SC2164
|
# shellcheck disable=SC2086,SC2046,SC2254,SC2164
|
||||||
VER=2.1.63
|
VER=2.1.64
|
||||||
|
|
||||||
# default values {
|
# default values {
|
||||||
|
|
||||||
@ -2262,6 +2262,9 @@ install_background()
|
|||||||
rsync -avh /run/archiso/sfs/airootfs/ "$MNT/" >> /tmp/bgout 2>&1
|
rsync -avh /run/archiso/sfs/airootfs/ "$MNT/" >> /tmp/bgout 2>&1
|
||||||
fi
|
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.conf "$MNT/etc/pacman.conf"
|
||||||
cp /etc/pacman.d/mirrorlist "$MNT/etc/pacman.d/mirrorlist"
|
cp /etc/pacman.d/mirrorlist "$MNT/etc/pacman.d/mirrorlist"
|
||||||
al_repo "$MNT/etc/pacman.conf"
|
al_repo "$MNT/etc/pacman.conf"
|
||||||
|
Reference in New Issue
Block a user