fix #408
This commit is contained in:
parent
07b2c41f45
commit
7c6e686236
2 changed files with 3 additions and 2 deletions
4
larbs.sh
4
larbs.sh
|
@ -57,7 +57,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 -s /bin/zsh "$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
|
||||
|
@ -78,7 +78,7 @@ refreshkeys() { \
|
|||
Include = /etc/pacman.d/mirrorlist-arch" >> /etc/pacman.conf
|
||||
done
|
||||
pacman -Sy >/dev/null 2>&1
|
||||
pacman-key --populate archlinux
|
||||
pacman-key --populate archlinux >/dev/null 2>&1
|
||||
;;
|
||||
esac ;}
|
||||
|
||||
|
|
|
@ -17,6 +17,7 @@ A,lf-git,"is an extensive terminal file manager that everyone likes."
|
|||
,ffmpeg,"can record and splice video and audio on the command line."
|
||||
,gnome-keyring,"serves as the system keyring."
|
||||
A,gtk-theme-arc-gruvbox-git,"gives the dark GTK theme used in LARBS."
|
||||
,python-qdarkstyle,"provides a dark Qt theme."
|
||||
,neovim,"a tidier vim with some useful features"
|
||||
,mpd,"is a lightweight music daemon."
|
||||
,mpc,"is a terminal interface for mpd."
|
||||
|
|
|
Loading…
Reference in a new issue