From 92f4d285aba5d32d0263b2423e47b5e58ad0d9cd Mon Sep 17 00:00:00 2001 From: fiftydinar <65243233+fiftydinar@users.noreply.github.com> Date: Sat, 8 Mar 2025 14:33:20 +0100 Subject: [PATCH] chore(brew): Install `zstd` using `dnf5` also I only covered installing `gcc` with `dnf5`, but forgot to cover `zstd`. --- modules/brew/brew.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/brew/brew.sh b/modules/brew/brew.sh index 4076996..c9ad513 100644 --- a/modules/brew/brew.sh +++ b/modules/brew/brew.sh @@ -27,7 +27,10 @@ fi # Check if zstd is installed & install it if it's not if ! command -v zstd &> /dev/null; then - if command -v rpm-ostree &> /dev/null; then + if command -v dnf5 &> /dev/null; then + echo "Installing \"zstd\" package, which is necessary for Brew to function" + dnf5 -y install zstd + elif command -v rpm-ostree &> /dev/null; then echo "Installing \"zstd\" package, which is necessary for Brew to function" rpm-ostree install zstd else