forked from zotan/os-bootstrap-core
Fix pacman-key thingy
This commit is contained in:
parent
f6d8dcda5a
commit
f5b3e9184b
6
archx.sh
6
archx.sh
|
@ -192,8 +192,10 @@ pacman_setup(){
|
||||||
pacman -Sy --needed --noconfirm archlinux-keyring
|
pacman -Sy --needed --noconfirm archlinux-keyring
|
||||||
pacman -S --needed --noconfirm arch-install-scripts
|
pacman -S --needed --noconfirm arch-install-scripts
|
||||||
echo "Waiting for pacman keyring to enter a consistent state..."
|
echo "Waiting for pacman keyring to enter a consistent state..."
|
||||||
sleep 5
|
while [[ $(systemctl show -p SubState --value pacman-init) != "exited" ]]; do
|
||||||
pacman-key --populate
|
sleep 1
|
||||||
|
done
|
||||||
|
echo "Done. Preparing install..."
|
||||||
if [ ! -f /usr/bin/wget ]; then
|
if [ ! -f /usr/bin/wget ]; then
|
||||||
pacman -S --needed --noconfirm wget libnewt
|
pacman -S --needed --noconfirm wget libnewt
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue