fix #408
This commit is contained in:
parent
07b2c41f45
commit
7c6e686236
4
larbs.sh
4
larbs.sh
@ -57,7 +57,7 @@ preinstallmsg() { \
|
|||||||
adduserandpass() { \
|
adduserandpass() { \
|
||||||
# Adds user `$name` with password $pass1.
|
# Adds user `$name` with password $pass1.
|
||||||
dialog --infobox "Adding user \"$name\"..." 4 50
|
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"
|
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")"
|
export repodir="/home/$name/.local/src"; mkdir -p "$repodir"; chown -R "$name":wheel "$(dirname "$repodir")"
|
||||||
echo "$name:$pass1" | chpasswd
|
echo "$name:$pass1" | chpasswd
|
||||||
@ -78,7 +78,7 @@ refreshkeys() { \
|
|||||||
Include = /etc/pacman.d/mirrorlist-arch" >> /etc/pacman.conf
|
Include = /etc/pacman.d/mirrorlist-arch" >> /etc/pacman.conf
|
||||||
done
|
done
|
||||||
pacman -Sy >/dev/null 2>&1
|
pacman -Sy >/dev/null 2>&1
|
||||||
pacman-key --populate archlinux
|
pacman-key --populate archlinux >/dev/null 2>&1
|
||||||
;;
|
;;
|
||||||
esac ;}
|
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."
|
,ffmpeg,"can record and splice video and audio on the command line."
|
||||||
,gnome-keyring,"serves as the system keyring."
|
,gnome-keyring,"serves as the system keyring."
|
||||||
A,gtk-theme-arc-gruvbox-git,"gives the dark GTK theme used in LARBS."
|
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"
|
,neovim,"a tidier vim with some useful features"
|
||||||
,mpd,"is a lightweight music daemon."
|
,mpd,"is a lightweight music daemon."
|
||||||
,mpc,"is a terminal interface for mpd."
|
,mpc,"is a terminal interface for mpd."
|
||||||
|
|
Loading…
Reference in New Issue
Block a user