mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-infect.git
synced 2024-11-10 13:33:11 +00:00
fix isEFI variable assignment
This commit is contained in:
parent
ce8d1f8404
commit
73b5863968
|
@ -157,7 +157,7 @@ findESP() {
|
|||
|
||||
prepareEnv() {
|
||||
isEFI=0
|
||||
[ -d /sys/firmware/efi ] || isEFI=1
|
||||
[ -d /sys/firmware/efi ] && isEFI=1
|
||||
|
||||
if ((isEFI)); then
|
||||
ESP="$(findESP)"
|
||||
|
|
Loading…
Reference in a new issue