9 lines
163 B
Bash
Executable file
9 lines
163 B
Bash
Executable file
#!/bin/bash
|
|
# Elevate script
|
|
if [ ! "$UID" -eq 0 ]
|
|
then
|
|
sudo bash "$BASH_SOURCE" "$USER";
|
|
else
|
|
pacman --noconfirm -Syu gnome
|
|
systemctl enable gdm;
|
|
fi;
|