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,6 +1,6 @@
# Installation des paquets
export VER_install_pkg="0.0.1"
export VER_install_pkg="0.0.2"
install_pkg()
{
@@ -11,7 +11,11 @@ install_pkg()
precheck_install_pkg()
{
[[ ! $PKGSEL ]] && prnt W "Pas de paquet additionel à installer !"
if [[ -z $PKGSEL ]]; then
prnt W "Pas de paquet additionel à installer !"
else
prnt I "$(echo $PKGSEL | wc -w) paquets additionels seront installés"
fi
}
export -f install_pkg