fix kernel detection in testing

This commit is contained in:
Tobias Powalowski 2023-05-23 21:49:59 +02:00
parent e5c42bc2aa
commit e9299d08c0

View file

@ -84,7 +84,7 @@ _update_environment() {
else
if [[ -n "${_DOTESTING}" ]]; then
#shellcheck disable=SC2086
_ONLINE_KERNEL="$(pacman -Si testing/${_KERNELPKG} | grep Version | cut -d ':' -f2 | sed -e 's# ##' 2>${_NO_LOG})"
_ONLINE_KERNEL="$(pacman -Si core-testing/${_KERNELPKG} | grep Version | cut -d ':' -f2 | sed -e 's# ##' 2>${_NO_LOG})"
fi
if [[ -z "${_ONLINE_KERNEL}" ]]; then
#shellcheck disable=SC2086