[util-yaml] run localecfg with gnome

This commit is contained in:
Philip Müller 2020-03-26 13:05:21 +01:00
parent b2a36142a3
commit 7f6da6af34

View file

@ -325,11 +325,15 @@ write_settings_conf(){
fi
echo " - machineid" >> "$conf" && write_machineid_conf
echo " - fstab" >> "$conf"
if ${oem_used} || [[ ${profile} == "gnome" ]]; then
if ${oem_used}; then
msg2 "Skipping to set locale, keyboard and localecfg modules."
else
echo " - locale" >> "$conf"
echo " - keyboard" >> "$conf"
if [[ ${profile} == "gnome" ]]; then
msg2 "Skipping to set locale and keyboard modules."
else
echo " - locale" >> "$conf"
echo " - keyboard" >> "$conf"
fi
echo " - localecfg" >> "$conf"
fi
echo " - luksopenswaphookcfg" >> "$conf"