void-bash-installer/modules/60-de/install
2021-03-12 16:28:20 +01:00

14 lines
645 B
Plaintext

module start "de" "Desktopenvironment install"
if [[ ! "${cfg[de]}" == "none" ]]; then
test -f "${modules}"/"${modulename}".d/install/de/"${cfg[de]}".mod && source "${modules}"/"${modulename}".d/install/de/"${cfg[de]}".mod
test -f "${modules}"/"${modulename}".d/install/system/"${cfg[gfx_system]}".mod && source "${modules}"/"${modulename}".d/install/system/"${cfg[gfx_system]}".mod
test -f "${dest}"/etc/locale-user.conf && cp "${dest}"/etc/locale-user.conf "${dest}"/etc/sv/${cfg[dm]}/conf
fi
if [[ "${cfg[soundsystem]}" == "pipewire" ]]; then
source "${modules}"/"${modulename}".d/install/sound/"${cfg[soundsystem]}".mod
fi
module end