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