Make certain commands not-silent

This commit is contained in:
Petar Kapriš 2025-04-23 14:41:45 +02:00
parent 4b574af932
commit 56cdd11e3c

8
bs.sh
View file

@ -192,12 +192,12 @@ refreshkeys() {
case "$(readlink -f /sbin/init)" in
*systemd*) # May end up removing the Arch option
whiptail --infobox "Refreshing Arch Keyring..." 7 40
pacman --noconfirm -S archlinux-keyring >/dev/null 2>&1
pacman --noconfirm -S archlinux-keyring
;;
*)
whiptail --infobox "Enabling Arch and Artix Omniverse Repositories for more a more extensive software collection..." 7 40
pacman --noconfirm --needed -S \
artix-keyring artix-archlinux-support >/dev/null 2>&1
artix-keyring artix-archlinux-support
grep -q "^\[extra\]" /etc/pacman.conf ||
echo "[extra]
Include = /etc/pacman.d/mirrorlist-arch" >>/etc/pacman.conf
@ -207,8 +207,8 @@ Include = /etc/pacman.d/mirrorlist-arch" >>/etc/pacman.conf
Server = https://artix.sakamoto.pl/omniverse/$arch
Server = https://eu-mirror.artixlinux.org/omniverse/$arch
Server = https://omniverse.artixlinux.org/$arch" >>/etc/pacman.conf
pacman -Sy --noconfirm >/dev/null 2>&1
pacman-key --populate archlinux >/dev/null 2>&1
pacman -Sy --noconfirm
pacman-key --populate archlinux
;;
esac
}