checks corrections and improvement, display improvement

This commit is contained in:
levasseur
2021-06-28 17:42:06 +02:00
parent dd11f34cfa
commit 89b90e4670
10 changed files with 58 additions and 24 deletions

View File

@@ -1,7 +1,7 @@
# Install desktop environment -- Ubuntu only
# Debian version might ask for task-$FLAVOR
export VER_install_desktop="0.0.1"
export VER_install_desktop="0.0.2"
install_desktop()
{
@@ -15,8 +15,14 @@ install_desktop()
precheck_install_desktop()
{
[[ ! $UBUNTU_FLAVOR ]] && prnt W "Pas de saveur Ubuntu choisie, aucun environnement de bureau ne sera installé !"
[[ $X11_DRV ]] && prnt W "Des pilotes non libres seront installé."
if [[ -z $UBUNTU_FLAVOR ]]; then
prnt W "Pas de saveur Ubuntu choisie, aucun environnement de bureau ne sera installé !"
else
prnt m "La saveur $UBUNTU_FLAVOR sera installée..."
fi
if [[ -n $X11_DRV ]]; then
prnt W "Des pilotes non libres seront installé."
fi
}
export -f install_desktop