Replace zsh and dash with bash

This commit is contained in:
Petar Kapriš 2025-04-20 22:06:30 +02:00
parent 7907a9d055
commit 728ac083a9

4
bs.sh
View file

@ -142,7 +142,7 @@ preinstallmsg() {
adduserandpass() {
# Adds user `$name` with password $pass1.
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"
export repodir="/home/$name/.local/src"
mkdir -p "$repodir"
@ -231,7 +231,7 @@ refreshkeys ||
whiptail --title "LARBS Installation" \
--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" \
--infobox "Synchronizing system time to ensure successful and secure installation of software..." 8 70