PortValhalla/scripts/Arch/Software/sudo/install.sh

10 lines
172 B
Bash
Raw Normal View History

2023-04-03 09:00:11 +00:00
#!/bin/bash
# Elevate script
if [ ! "$UID" -eq 0 ]
then
sudo bash "$BASH_SOURCE";
else
pacman --noconfirm -Syu sudo;
source "../../Config/sudo/install.sh";
fi;