pgrep on correct process

This commit is contained in:
Tobias Powalowski 2022-03-21 10:57:49 +01:00
parent 562272a68d
commit 8a60f3acec

View file

@ -99,8 +99,8 @@ if [[ "${_L_COMPLETE}" == "1" || "${_L_INSTALL_COMPLETE}" == "1" ]]; then
#shellcheck disable=SC2115 #shellcheck disable=SC2115
[[ -d "/usr/share/${i}" ]] && rm -r "/usr/share/${i}" [[ -d "/usr/share/${i}" ]] && rm -r "/usr/share/${i}"
done done
echo "Step 2/9: Waiting for pacman keyring creation to finish ..." echo "Step 2/9: Waiting for gpg pacman keyring import to finish ..."
while pgreg pacman > /dev/null 2>&1; do while pgreg -x gpg > /dev/null 2>&1; do
sleep 1 sleep 1
done done
echo "Step 3/9: Generating archboot container in ${_W_DIR} ..." echo "Step 3/9: Generating archboot container in ${_W_DIR} ..."