Merge branch 'master' of ssh://apo.geoffray-levasseur.org/share/services/git/legos

This commit is contained in:
levasseur
2021-10-18 16:40:21 +02:00
11 changed files with 33 additions and 29 deletions

View File

@@ -79,7 +79,7 @@ show_version()
echo -e "${BWhite}init.sh${DEFAULTCOL} version ${BGreen}$VERSION${DEFAULTCOL}"
echo ""
echo "Modules disponibles :"
local mod=
for mod in $MYPATH/modules/*.sh; do
# Ran in a subshell to not pollute environment
@@ -94,7 +94,7 @@ show_version()
)
done
unset mod
if [[ $(id -u) -ne 0 ]]; then
echo -e "\n${BYellow}Attention :$DEFAULTCOL Ce script requiert les droits d'administration pour fonctionner."
fi