update system moved to the install_packages function. Audible prompts used if available.

This commit is contained in:
Storm Dragon 2023-08-17 16:39:34 -04:00
parent ba84837102
commit 110a220846
3 changed files with 3 additions and 9 deletions

View File

@ -1,6 +1,8 @@
install_package() {
# If for some reason we have to change AUR helpers, this function should make it easy to update everything all at once.
yay --sudoloop --needed --noconfirm -Sy "$@"
# make sure system is up to date
yay --sudoflags "-A" --sudoloop --noconfirm -Syu
yay --sudoflags "-A" --sudoloop --needed --noconfirm -Sy "$@"
}
restart() {

View File

@ -4,8 +4,6 @@
# URL from where wine is downloaded, must be i686
wineURL="https://www.playonlinux.com/wine/binaries/phoenicis/upstream-linux-x86/PlayOnLinux-wine-7.11-upstream-linux-x86.tar.gz"
# Make sure system is up to date
yay -Syu --noconfirm
# Install required packages
install_package cabextract box86 dos2unix p7zip unzip xdotool

View File

@ -6,9 +6,6 @@ packages="${packages//lxqt/lxqt lxterminal oxygen-icons ratpoison network-manage
packages="${packages//mate/mate mate-extra network-manager-applet}"
packages="${packages//i3/clipster grun jq i3-wm libnotify lxterminal notification-daemon pamixer playerctl python-i3ipc sgtk-menu sox transfersh yad}"
# Make sure system is up to date
yay -Syu --noconfirm
# Proper command for launching the desktop session.
case "${1}" in
"lxqt") session="startlxqt";;
@ -16,9 +13,6 @@ case "${1}" in
*) session="$1";;
esac
# Sometimes this causes a problem, so try to remove them before hand.
yay -Rdd --noconfirm xorg-mkfontscale
yay -Rdd --noconfirm xorg-mkfontdir
install_package ${packages} firefox nodm-dgw orca speech-dispatcher xclip xf86-video-dummy-with-vt xorg
# Configure nodm