fix-kernel-install.bash: remove excess quote and fix typo

This commit is contained in:
Aminda Suomalainen 2024-05-03 20:03:53 +03:00
parent b48f55e835
commit 198643b487
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -27,7 +27,7 @@ if [ -f /etc/machine-id ]; then
else
printf "\nWARNING! Kernels mismatch! Suggested actions:\n"
printf "\tsudo mkdir /boot/%b\"/%b\n" "$EXPECTEDKERNEL" "$EXPECTEDKERNEL"
printf "\tsudo mkdir /boot/%b/%b\n" "$MACHINEID" "$EXPECTEDKERNEL"
printf "\tsudo kernel-install add %b /lib/modules/%b/vmlinuz\n" "$EXPECTEDKERNEL" "$EXPECTEDKERNEL"
fi
fi