From fb6af199e0b8288506079118c841e6e3d3a19424 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20M=C3=BCller?= Date: Tue, 8 Oct 2019 16:03:59 +0200 Subject: [PATCH] [util-yaml] skip packagechooser in OEM --- lib/util-yaml.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/util-yaml.sh b/lib/util-yaml.sh index f0fcd1c..47714c5 100644 --- a/lib/util-yaml.sh +++ b/lib/util-yaml.sh @@ -296,8 +296,12 @@ write_settings_conf(){ fi # WIP - OfficeChooser if ${extra}; then - msg2 "Enabling PackageChooser module." - echo " - packagechooser" >> "$conf" + if ${oem_used}; then + msg2 "Skipping enabling PackageChooser module." + else + msg2 "Enabling PackageChooser module." + echo " - packagechooser" >> "$conf" + fi fi if ${netinstall}; then echo " - netinstall" >> "$conf" && write_netinstall_conf