Do not ask to restart when setting screen type during gui install.

This commit is contained in:
Storm Dragon 2025-04-25 13:45:18 -04:00
parent e51940bf86
commit 3593fe6702
2 changed files with 5 additions and 3 deletions

View File

@ -14,7 +14,7 @@ case "${1}" in
*) session="$1";;
esac
./.includes/toggle-screen.sh
./.includes/toggle-screen.sh -n
install_package ${packages} firefox nodm-dgw orca speech-dispatcher xclip xorg-drivers xorg-server xorg-xinit
# GUI bluetooth manager

View File

@ -51,9 +51,11 @@ answer=$(yesno "Do you have a physical screen attached?")
if [[ "${answer}" == "Yes" ]]; then
active_screen
msgbox "Settings for physical screen applied."
restart
else
headless
msgbox "Headless mode applied."
restart
fi
if [[ "$1" != "-n" ]]; then
restart
fi