fix: 🐛 make secureboot detection work

This commit is contained in:
Adrian Wannenmacher 2021-06-19 16:24:45 +02:00
parent 5f890bb2a4
commit 944e65bdae
Signed by: tfld
GPG Key ID: 19D986ECB1E492D5

View File

@ -27,7 +27,7 @@ function check_deps -d "checks if all dependencies are available"
end
which "sbsign" >/dev/null 2>/dev/null
if test $status != "0" -a $CFG_EFI = "yes"
if test $status != "0" -a $CFG_SECUREBOOT = "yes"
set -g CFG_SECUREBOOT "no"
echo "CFG_SECUREBOOT overwriten to \"no\": 'sbsign' not available"
end