Don't install memtest on EFI platforms.

This commit is contained in:
Peter Jones 2008-03-04 21:39:54 +00:00
parent 3a08571fc1
commit 5add47ffe8

View File

@ -1,5 +1,10 @@
#!/bin/bash
if [ -d /sys/firmware/efi ]; then
echo "memtest86+ does not support EFI platforms."
exit 254
fi
MTVERSION=`rpm -q --qf '%{version}' memtest86+`
MTPATH="/boot/memtest86+-$MTVERSION"