#!/bin/bash # This is only meant for Fedora linux btw... if [[ "$EUID" = 0 ]]; then echo "Executing as root." else sudo -k if sudo true; then echo "Correct root password, executing as root." else echo "Wrong root password." exit 1 fi fi dnf install neovim git base-devel -y