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