Replace zsh and dash with bash
This commit is contained in:
parent
7907a9d055
commit
728ac083a9
1 changed files with 2 additions and 2 deletions
4
bs.sh
4
bs.sh
|
@ -142,7 +142,7 @@ preinstallmsg() {
|
||||||
adduserandpass() {
|
adduserandpass() {
|
||||||
# Adds user `$name` with password $pass1.
|
# Adds user `$name` with password $pass1.
|
||||||
whiptail --infobox "Adding user \"$name\"..." 7 50
|
whiptail --infobox "Adding user \"$name\"..." 7 50
|
||||||
useradd -m -g wheel -s /bin/zsh "$name" >/dev/null 2>&1 ||
|
useradd -m -g wheel -s /bin/bash "$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"
|
export repodir="/home/$name/.local/src"
|
||||||
mkdir -p "$repodir"
|
mkdir -p "$repodir"
|
||||||
|
@ -231,7 +231,7 @@ refreshkeys ||
|
||||||
|
|
||||||
whiptail --title "LARBS Installation" \
|
whiptail --title "LARBS Installation" \
|
||||||
--infobox "Installing software required to install and configure other programs." 8 70
|
--infobox "Installing software required to install and configure other programs." 8 70
|
||||||
pacman --noconfirm --needed -S curl ca-certificates base-devel git ntp zsh dash
|
pacman --noconfirm --needed -S curl ca-certificates base-devel git ntp
|
||||||
|
|
||||||
whiptail --title "LARBS Installation" \
|
whiptail --title "LARBS Installation" \
|
||||||
--infobox "Synchronizing system time to ensure successful and secure installation of software..." 8 70
|
--infobox "Synchronizing system time to ensure successful and secure installation of software..." 8 70
|
||||||
|
|
Loading…
Add table
Reference in a new issue