From 61b8aa133da29f9b54b1919e03493e6acea5324c Mon Sep 17 00:00:00 2001 From: kyodev <> Date: Sun, 4 Mar 2018 06:59:00 +0100 Subject: [PATCH] getIp 2.11.0 --- scripts/getIp | 24 ++++++++++++------------ scripts/getIp_changelog.md | 6 +++--- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/scripts/getIp b/scripts/getIp index 5a78817..d321ba6 100755 --- a/scripts/getIp +++ b/scripts/getIp @@ -11,20 +11,20 @@ script="getIp" # contributeurs: kyodev ##### -f__color(){ # 03/03/2018 +f__color(){ # 01/03/2018 if type -p tput &>/dev/null && tput setaf 1 &>/dev/null; then - BLACK=$(tput setaf 0) - RED=$(tput setaf 1) # alerte - GREEN=$(tput setaf 2) # ok - YELLOW=$(tput setaf 3) # question - BLUE=$(tput setaf 4) # info - CYAN=$(tput setaf 6) - MAGENTA=$(tput setaf 5) - STD=$(tput sgr0) # retour "normal" - BOLD=$(tput bold) - ITAL=$(tput sitm) - SOUL=$(tput smul) + BLACK=$( tput setaf 0 ) + RED=$( tput setaf 1 ) # alerte + GREEN=$( tput setaf 2 ) # ok + YELLOW=$( tput setaf 3 ) # question + BLUE=$( tput setaf 4 ) # info + CYAN=$( tput setaf 6 ) + MAGENTA=$( tput setaf 5 ) + STD=$( tput sgr0 ) # retour "normal" + BOLD=$( tput bold ) + ITAL=$( tput sitm ) + SOUL=$( tput smul ) else YELLOW=$( echo -n "\033[0;33m" ) # ? GREEN=$( echo -n "\033[0;32m" ) # ok diff --git a/scripts/getIp_changelog.md b/scripts/getIp_changelog.md index bec196e..5bfb878 100644 --- a/scripts/getIp_changelog.md +++ b/scripts/getIp_changelog.md @@ -3,9 +3,9 @@ ## getIp 2.11.0 03/03/2018 -* synchro fscript_install, fscript_remove, fscript_update -* révision: f__color, f__sudo, f__wcv, figet_ip, prg_init -* cosmétique, obsolescence bash/ubuntu 16.04: f__dir, f__info, f__user, f__wget_test, +* synchro: fscript_install, fscript_remove, fscript_update +* synchro: f__color, f__dir, f__info, f__sudo, f__user, f__wcv, f__wget_test, figet_ip +* révision: prg_init * fix: figet_ip_pub, ubuntu 16.04 ## getIp 2.10.0 11/02/2018