add some comments

This commit is contained in:
Francois B 2018-06-05 09:22:46 +02:00
parent cec17db99c
commit b48faf2c02

View file

@ -154,6 +154,7 @@ function yggInit () {
printf "[INIT]" printf "[INIT]"
installPackage apt "apt-transport-https" installPackage apt "apt-transport-https"
# UMAKE
if ! which umake >/dev/null; then if ! which umake >/dev/null; then
printf "[INIT][UMAKE] not found, installing...\n" printf "[INIT][UMAKE] not found, installing...\n"
printf "\n[INIT][UMAKE] not found, installing...\n" &>> $logFile printf "\n[INIT][UMAKE] not found, installing...\n" &>> $logFile
@ -162,6 +163,7 @@ function yggInit () {
printf "[INIT][UMAKE] found [ "$BOLDVERT"OK"$NORMAL" ] \n" printf "[INIT][UMAKE] found [ "$BOLDVERT"OK"$NORMAL" ] \n"
fi fi
# GEM
if ! which gem >/dev/null; then if ! which gem >/dev/null; then
printf "[INIT][GEM] not found, installing...\n" printf "[INIT][GEM] not found, installing...\n"
printf "\n[INIT][GEM] not found, installing...\n" &>> $logFile printf "\n[INIT][GEM] not found, installing...\n" &>> $logFile
@ -170,6 +172,7 @@ function yggInit () {
printf "[INIT][GEM] found [ "$BOLDVERT"OK"$NORMAL" ] \n" printf "[INIT][GEM] found [ "$BOLDVERT"OK"$NORMAL" ] \n"
fi fi
# SNAP
if ! which snap >/dev/null; then if ! which snap >/dev/null; then
printf "[INIT][SNAP] not found, installing...\n" printf "[INIT][SNAP] not found, installing...\n"
printf "\n[INIT][SNAP] not found, installing...\n" &>> $logFile printf "\n[INIT][SNAP] not found, installing...\n" &>> $logFile
@ -178,6 +181,7 @@ function yggInit () {
printf "[INIT][SNAP] found [ "$BOLDVERT"OK"$NORMAL" ] \n" printf "[INIT][SNAP] found [ "$BOLDVERT"OK"$NORMAL" ] \n"
fi fi
# NPM
if ! which npm >/dev/null; then if ! which npm >/dev/null; then
printf "[INIT][NPM] not found, installing...\n" printf "[INIT][NPM] not found, installing...\n"
printf "\n[INIT][NPM] not found, installing...\n" &>> $logFile printf "\n[INIT][NPM] not found, installing...\n" &>> $logFile
@ -186,6 +190,7 @@ function yggInit () {
printf "[INIT][NPM] found [ "$BOLDVERT"OK"$NORMAL" ] \n" printf "[INIT][NPM] found [ "$BOLDVERT"OK"$NORMAL" ] \n"
fi fi
# PIP3
if ! which pip3 >/dev/null; then if ! which pip3 >/dev/null; then
printf "[INIT][PIP] not found, installing...\n" printf "[INIT][PIP] not found, installing...\n"
printf "\n[INIT][PIP] not found, installing...\n" &>> $logFile printf "\n[INIT][PIP] not found, installing...\n" &>> $logFile