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

8 lines
126 B
Bash
Raw Normal View History

2023-04-03 09:00:11 +00:00
#!/bin/bash
if [ ! "$UID" -eq 0 ]
then
sudo bash "$BASH_SOURCE";
else
sed -i "s/^# \(%wheel \)/\1/" /etc/sudoers;
fi;