mirror of
https://github.com/rocky-linux/rocky-tools.git
synced 2024-11-22 05:01:25 +00:00
grep is needed for all migrations.
Move the check for grep to the main list of binaries instead of the ones just needed for EFI boot.
This commit is contained in:
parent
fbac8d07a2
commit
aff688f30c
@ -230,10 +230,10 @@ bin_check() {
|
||||
local -a missing bins
|
||||
bins=(
|
||||
rpm dnf awk column tee tput mkdir cat arch sort uniq rmdir
|
||||
rm head curl sha512sum mktemp systemd-detect-virt sed
|
||||
rm head curl sha512sum mktemp systemd-detect-virt sed grep
|
||||
)
|
||||
if [[ $update_efi ]]; then
|
||||
bins+=(findmnt grub2-mkconfig efibootmgr grep mokutil lsblk)
|
||||
bins+=(findmnt grub2-mkconfig efibootmgr mokutil lsblk)
|
||||
fi
|
||||
for bin in "${bins[@]}"; do
|
||||
if ! type "$bin" >/dev/null 2>&1; then
|
||||
|
Loading…
Reference in New Issue
Block a user