idk
This commit is contained in:
16
install.sh
Normal file
16
install.sh
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user