From 8d0c107a0f3d1bdadfe480b4a3b9ab036c067974 Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Sat, 13 Oct 2018 15:34:38 -0500 Subject: [PATCH] Fix Walter's bash faux pas. --- lubuntu/modules/before_bootloader_context.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lubuntu/modules/before_bootloader_context.conf b/lubuntu/modules/before_bootloader_context.conf index 0de95dd..064594a 100644 --- a/lubuntu/modules/before_bootloader_context.conf +++ b/lubuntu/modules/before_bootloader_context.conf @@ -10,7 +10,7 @@ firmwareType: timeout: 10 - command: apt-get update timeout: 120 - - command: apt install -y --no-upgrade -o Acquire::gpgv::Options::=--ignore-time-conflict grub-efi-$(if [ "$(grep 64 /sys/firmware/efi/fw_platform_size)" ]; then echo amd64-signed; else echo ia32; fi) + - command: apt install -y --no-upgrade -o Acquire::gpgv::Options::=--ignore-time-conflict grub-efi-$(if grep -q 64 /sys/firmware/efi/fw_platform_size; then echo amd64-signed; else echo ia32; fi) timeout: 300 - command: apt install -y --no-upgrade -o Acquire::gpgv::Options::=--ignore-time-conflict shim-signed timeout: 300