Added warning for binfmt-qemu-static if it is missing.

This commit is contained in:
Storm Dragon 2022-02-05 12:25:52 -05:00
parent 010c0d669f
commit 2b9f8acdb4
1 changed files with 5 additions and 1 deletions

View File

@ -107,7 +107,11 @@ fi
# make sure the needed tools are installed
if [[ "$(uname -m)" == "x86_64" ]]; then
if ! pacman -Q qemu-user-static &> /dev/null ; then
echo "Please install qemu-user-static before continuing."
echo "Please install qemu-user-static and binfmt-qemu-static before continuing."
exit 1
fi
if ! pacman -Q binfmt-qemu-static &> /dev/null ; then
echo "Please install qemu-user-static and binfmt-qemu-static before continuing."
exit 1
fi
fi