diff --git a/set-up-system.sh b/set-up-system.sh index 6d243e1..6e2cca2 100644 --- a/set-up-system.sh +++ b/set-up-system.sh @@ -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'