update system moved to the install_packages function. Audible prompts used if available.
This commit is contained in:
parent
ba84837102
commit
110a220846
@ -1,6 +1,8 @@
|
|||||||
install_package() {
|
install_package() {
|
||||||
# If for some reason we have to change AUR helpers, this function should make it easy to update everything all at once.
|
# 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() {
|
restart() {
|
||||||
|
@ -4,8 +4,6 @@
|
|||||||
# URL from where wine is downloaded, must be i686
|
# 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"
|
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 required packages
|
||||||
install_package cabextract box86 dos2unix p7zip unzip xdotool
|
install_package cabextract box86 dos2unix p7zip unzip xdotool
|
||||||
|
@ -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//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}"
|
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.
|
# Proper command for launching the desktop session.
|
||||||
case "${1}" in
|
case "${1}" in
|
||||||
"lxqt") session="startlxqt";;
|
"lxqt") session="startlxqt";;
|
||||||
@ -16,9 +13,6 @@ case "${1}" in
|
|||||||
*) session="$1";;
|
*) session="$1";;
|
||||||
esac
|
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
|
install_package ${packages} firefox nodm-dgw orca speech-dispatcher xclip xf86-video-dummy-with-vt xorg
|
||||||
|
|
||||||
# Configure nodm
|
# Configure nodm
|
||||||
|
Loading…
Reference in New Issue
Block a user