check if fedora

This commit is contained in:
2026-07-17 20:41:48 +01:00
parent 72f7cee3a8
commit aa0d178348
+6
View File
@@ -21,6 +21,12 @@ cat << 'EOF'
EOF
# check if on fedora
if ! grep -q '^ID=fedora$' /etc/os-release 2>/dev/null; then
banner_top "errrm... why aren't you on fedora"
exit 1
fi
# configure dnf
banner_top "configuring dnf"
sudo tee /etc/dnf/dnf.conf << 'EOF'