mirror of https://framagit.org/kyodev/kyopages.git
getIp 2.11.0
This commit is contained in:
parent
58e86fe9b5
commit
61b8aa133d
|
@ -11,20 +11,20 @@ script="getIp"
|
||||||
# contributeurs: kyodev
|
# contributeurs: kyodev
|
||||||
#####
|
#####
|
||||||
|
|
||||||
f__color(){ # 03/03/2018
|
f__color(){ # 01/03/2018
|
||||||
|
|
||||||
if type -p tput &>/dev/null && tput setaf 1 &>/dev/null; then
|
if type -p tput &>/dev/null && tput setaf 1 &>/dev/null; then
|
||||||
BLACK=$(tput setaf 0)
|
BLACK=$( tput setaf 0 )
|
||||||
RED=$(tput setaf 1) # alerte
|
RED=$( tput setaf 1 ) # alerte
|
||||||
GREEN=$(tput setaf 2) # ok
|
GREEN=$( tput setaf 2 ) # ok
|
||||||
YELLOW=$(tput setaf 3) # question
|
YELLOW=$( tput setaf 3 ) # question
|
||||||
BLUE=$(tput setaf 4) # info
|
BLUE=$( tput setaf 4 ) # info
|
||||||
CYAN=$(tput setaf 6)
|
CYAN=$( tput setaf 6 )
|
||||||
MAGENTA=$(tput setaf 5)
|
MAGENTA=$( tput setaf 5 )
|
||||||
STD=$(tput sgr0) # retour "normal"
|
STD=$( tput sgr0 ) # retour "normal"
|
||||||
BOLD=$(tput bold)
|
BOLD=$( tput bold )
|
||||||
ITAL=$(tput sitm)
|
ITAL=$( tput sitm )
|
||||||
SOUL=$(tput smul)
|
SOUL=$( tput smul )
|
||||||
else
|
else
|
||||||
YELLOW=$( echo -n "\033[0;33m" ) # ?
|
YELLOW=$( echo -n "\033[0;33m" ) # ?
|
||||||
GREEN=$( echo -n "\033[0;32m" ) # ok
|
GREEN=$( echo -n "\033[0;32m" ) # ok
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
|
|
||||||
## getIp 2.11.0 03/03/2018
|
## getIp 2.11.0 03/03/2018
|
||||||
|
|
||||||
* synchro fscript_install, fscript_remove, fscript_update
|
* synchro: fscript_install, fscript_remove, fscript_update
|
||||||
* révision: f__color, f__sudo, f__wcv, figet_ip, prg_init
|
* synchro: f__color, f__dir, f__info, f__sudo, f__user, f__wcv, f__wget_test, figet_ip
|
||||||
* cosmétique, obsolescence bash/ubuntu 16.04: f__dir, f__info, f__user, f__wget_test,
|
* révision: prg_init
|
||||||
* fix: figet_ip_pub, ubuntu 16.04
|
* fix: figet_ip_pub, ubuntu 16.04
|
||||||
|
|
||||||
## getIp 2.10.0 11/02/2018
|
## getIp 2.10.0 11/02/2018
|
||||||
|
|
Loading…
Reference in New Issue