From 944e65bdae8a894e13b29e16c40c0873d0bd62f9 Mon Sep 17 00:00:00 2001 From: Adrian Wannenmacher Date: Sat, 19 Jun 2021 16:24:45 +0200 Subject: [PATCH] fix: :bug: make secureboot detection work --- src/snap-pac-uki.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/snap-pac-uki.fish b/src/snap-pac-uki.fish index 0c677d0..273aea6 100755 --- a/src/snap-pac-uki.fish +++ b/src/snap-pac-uki.fish @@ -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