Commit 989a507e authored by Chrysostomus's avatar Chrysostomus

FIx typo in refind ucode check

parent 8aa27eae
......@@ -514,7 +514,7 @@ install_refind()
fi
# Figure out microcode
rootsubvol=$(findmnt -o TARGET,SOURCE | awk '/\/mnt / {print $2}' | cut -d "[" -f2 | cut -d "]" -f1)
UCODE=$(arch_chroot "arch_chroot "pacman -Qqs ucode" 2>$ERR" 2>$ERR)
UCODE=$(arch_chroot "pacman -Qqs ucode" 2>$ERR)
if [[ $(echo ${UCODE} | wc -l) -gt 1 ]]; then
# set microcode
if findmnt -o TARGET,SOURCE | grep -q "/mnt/boot " ; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment