oops, forgot to push.

This commit is contained in:
Dorian
2021-11-10 00:13:48 -05:00
parent ab5cce895e
commit 845c6cf0b5
2 changed files with 9 additions and 1 deletions

View File

@@ -58,7 +58,7 @@ preinstallmsg() { \
adduserandpass() { \
# Adds user `$name` with password $pass1.
dialog --infobox "Adding user \"$name\"..." 4 50
useradd -m -g wheel -s /bin/zsh "$name" >/dev/null 2>&1 ||
useradd -m -g wheel "$name" >/dev/null 2>&1 ||
usermod -a -G wheel "$name" && mkdir -p /home/"$name" && chown "$name":wheel /home/"$name"
export repodir="/home/$name/.local/src"; mkdir -p "$repodir"; chown -R "$name":wheel "$(dirname "$repodir")"
echo "$name:$pass1" | chpasswd