util-yaml: only write displaymanager.conf if unpackfs true and netinstall false; this should enable CAL fallback detection for netinstall
This commit is contained in:
parent
1ba3fbe021
commit
3784265d8c
1 changed files with 13 additions and 11 deletions
|
@ -139,18 +139,20 @@ write_services_conf(){
|
|||
|
||||
write_displaymanager_conf(){
|
||||
local conf="${modules_dir}/displaymanager.conf"
|
||||
msg2 "Writing %s ..." "${conf##*/}"
|
||||
echo "---" > "$conf"
|
||||
echo "displaymanagers:" >> "$conf"
|
||||
echo " - ${displaymanager}" >> "$conf"
|
||||
echo '' >> "$conf"
|
||||
if $(is_valid_de); then
|
||||
echo "defaultDesktopEnvironment:" >> "$conf"
|
||||
echo " executable: \"${default_desktop_executable}\"" >> "$conf"
|
||||
echo " desktopFile: \"${default_desktop_file}\"" >> "$conf"
|
||||
if ${unpackfs} && ! ${netinstall};then
|
||||
msg2 "Writing %s ..." "${conf##*/}"
|
||||
echo "---" > "$conf"
|
||||
echo "displaymanagers:" >> "$conf"
|
||||
echo " - ${displaymanager}" >> "$conf"
|
||||
echo '' >> "$conf"
|
||||
if $(is_valid_de); then
|
||||
echo "defaultDesktopEnvironment:" >> "$conf"
|
||||
echo " executable: \"${default_desktop_executable}\"" >> "$conf"
|
||||
echo " desktopFile: \"${default_desktop_file}\"" >> "$conf"
|
||||
fi
|
||||
echo '' >> "$conf"
|
||||
echo "basicSetup: false" >> "$conf"
|
||||
fi
|
||||
echo '' >> "$conf"
|
||||
echo "basicSetup: false" >> "$conf"
|
||||
}
|
||||
|
||||
write_initcpio_conf(){
|
||||
|
|
Loading…
Reference in a new issue