summaryrefslogtreecommitdiff
path: root/gohan.sh
diff options
context:
space:
mode:
Diffstat (limited to 'gohan.sh')
-rw-r--r--gohan.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/gohan.sh b/gohan.sh
index eb1b9ce..89c84e7 100644
--- a/gohan.sh
+++ b/gohan.sh
@@ -107,6 +107,7 @@ install_from_github() {
}
configure_sudo() {
+ install_from_pacman sudo
[ -f /etc/sudoers ] && sed -i "s/# %wheel ALL=(ALL) NOPASSWORD: ALL/%wheel ALL=(ALL) NOPASSWORD: ALL/" /etc/sudoers
}
@@ -124,10 +125,10 @@ preinstall_msg || error "User exited."
add_user || error "Error adding username and/or password."
+configure_sudo
+
install_dotfiles $dotfilesrepo "/home/$name/.local/src/dotfiles"
install_software
-configure_sudo()
-
clear