Files
kde-setup/install.sh
mitrhaCoding 7a8a44cca8 idk
2026-03-31 23:16:19 +02:00

16 lines
319 B
Bash

#!/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