Fedora support in building

This commit is contained in:
Zach C
2023-08-13 12:04:11 -05:00
parent 2d2983e16e
commit 33c77c7e13
2 changed files with 22 additions and 4 deletions

View File

@@ -8,7 +8,7 @@ if [[ "$(uname)" != "Linux" ]]; then
exit 1
fi
if [ "$(lsb_release -d | grep -qEi 'debian|buntu|mint')" ]; then
if ! lsb_release -d | grep -qEi 'debian|buntu|mint' && [ -z "$(command -v dnf)" ]; then
echo Not a supported Linux
exit 1
fi