remove pacman init check, check on gpg after pacman-key is enough

This commit is contained in:
Tobias Powalowski 2022-04-28 14:33:04 +02:00
parent 22211f2eb4
commit 9353d3933c

View file

@ -126,11 +126,6 @@ _gpg_check() {
while pgrep -x gpg > /dev/null 2>&1; do while pgrep -x gpg > /dev/null 2>&1; do
sleep 1 sleep 1
done done
while true; do
# gpg-agent finished in background
[[ "$(pgrep -x gpg-agent -c)" == "2" ]] && break
sleep 1
done
[[ "${_RUNNING_ARCH}" == "x86_64" ]] && systemctl stop pacman-init.service [[ "${_RUNNING_ARCH}" == "x86_64" ]] && systemctl stop pacman-init.service
[[ "${_RUNNING_ARCH}" == "aarch64" ]] && systemctl stop pacman-init-arm.service [[ "${_RUNNING_ARCH}" == "aarch64" ]] && systemctl stop pacman-init-arm.service
} }