chore(brew): Install zstd using dnf5 also

I only covered installing `gcc` with `dnf5`, but forgot to cover `zstd`.
This commit is contained in:
fiftydinar 2025-03-08 14:33:20 +01:00 committed by GitHub
parent b09cc41ee2
commit 92f4d285ab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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