]> code.delx.au - refind/blobdiff - install.sh
Fixed install.sh bug on OS X
[refind] / install.sh
index 747475af73177b5541bff3b82e02bbd36be74db0..6040c23734877ff4c69e1762eceff31d004507e7 100755 (executable)
@@ -27,6 +27,7 @@
 #
 # Revision history:
 #
+# 0.5.1.1 -- Fixed bug that caused script failure under OS X
 # 0.5.1   -- Added --shim & --localkeys options & create sample refind_linux.conf
 #            in /boot
 # 0.5.0   -- Added --usedefault & --drivers options & changed "esp" option to "--esp"
@@ -649,7 +650,7 @@ if [[ `whoami` != "root" ]] ; then
 fi
 CheckForFiles
 if [[ $OSName == 'Darwin' ]] ; then
-   if [[ $ShimDir != "none" ]] ; then
+   if [[ $ShimSource != "none" ]] ; then
       echo "The --shim option is not supported on OS X! Exiting!"
       exit 1
    fi