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 \