mirror of
https://gitlab.com/fedora/bootc/base-images.git
synced 2026-08-30 04:50:46 +00:00
7 lines
230 B
Bash
Executable file
7 lines
230 B
Bash
Executable file
#!/bin/bash
|
|
set -xeuo pipefail
|
|
# Verify the bootupd EFI has more than one component installed
|
|
versions=$(cat /usr/lib/bootupd/updates/EFI.json | jq -r .version | tr ',' ' ')
|
|
array=($versions)
|
|
length=${#array[*]}
|
|
[ $length -gt 1 ]
|