1

Add mobile package pattern for mobile systems

This commit is contained in:
Jessie Hildebrandt 2023-06-02 12:21:34 -04:00
parent 69f5dd0ca6
commit b6d1bd2b44

View File

@ -162,6 +162,13 @@ until prompt_chassis_type; do : ; done
echo "Setting chassis type to ${system_chassis}" echo "Setting chassis type to ${system_chassis}"
sudo hostnamectl chassis "${system_chassis}" sudo hostnamectl chassis "${system_chassis}"
# Add "mobile" package pattern for mobile chassis types
case "${system_chassis}" in
"latop"|"convertible"|"tablet")
PATTERNS+=('patterns-desktop-mobile')
;;
esac
######################################## ########################################
# Prompt for system name # Prompt for system name
@ -216,7 +223,6 @@ optional_additions=""
function prompt_optional_additions () function prompt_optional_additions ()
{ {
ENTRY=$(dialog --title "Optional Additions" --stdout --no-cancel --single-quoted --output-separator '|' \ ENTRY=$(dialog --title "Optional Additions" --stdout --no-cancel --single-quoted --output-separator '|' \
--checklist "Select any additional configuration changes that you would like applied to the system:" 0 0 0 \ --checklist "Select any additional configuration changes that you would like applied to the system:" 0 0 0 \
"Xournal++" "Install Xournal++ for taking handwritten notes" OFF \ "Xournal++" "Install Xournal++ for taking handwritten notes" OFF \