From a30e960639cf7c527c803495cb2274f0379bac45 Mon Sep 17 00:00:00 2001 From: ryanrudolfoba <98122529+ryanrudolfoba@users.noreply.github.com> Date: Thu, 30 May 2024 21:46:14 -0400 Subject: [PATCH] update ESP sanity check --- install-Clover.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install-Clover.sh b/install-Clover.sh index b76418a..05bf353 100644 --- a/install-Clover.sh +++ b/install-Clover.sh @@ -48,7 +48,7 @@ else fi ESP=$(df /dev/nvme0n1p1 --output=avail | tail -n1) -if [ $ESP -ge 30000 ] +if [ $ESP -ge 15000 ] then echo ESP partition has $ESP KB free space. echo ESP partition has enough free space. @@ -57,6 +57,7 @@ then else echo ESP partition has $ESP KB free space. echo Not enough space on the ESP partition! + echo -e "$current_password\n" | sudo -S du -hd2 /esp echo -e "$current_password\n" | sudo -S umount ~/temp-ESP rmdir ~/temp-ESP exit