From b6d1bd2b44daad637c8f04a0140475c0f1e803a6 Mon Sep 17 00:00:00 2001 From: Jessie Hildebrandt Date: Fri, 2 Jun 2023 12:21:34 -0400 Subject: [PATCH] Add mobile package pattern for mobile systems --- opensuse-personalizer.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/opensuse-personalizer.sh b/opensuse-personalizer.sh index 405593f..051729d 100755 --- a/opensuse-personalizer.sh +++ b/opensuse-personalizer.sh @@ -162,6 +162,13 @@ until prompt_chassis_type; do : ; done echo "Setting chassis type to ${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 @@ -216,7 +223,6 @@ optional_additions="" function prompt_optional_additions () { - 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 \ "Xournal++" "Install Xournal++ for taking handwritten notes" OFF \