This commit is contained in:
kyodev 2017-08-27 09:21:42 +02:00
parent dd2625e478
commit b316d7ad64
1 changed files with 4 additions and 4 deletions

View File

@ -700,7 +700,7 @@ figet_de() { # thanks neofetch, assigne $de
esac
}
figet_disk() { # thanks neofetch, assigne $disk
figet_disk() { # thanks neofetch, assigne $disk
# df flags
local df_flags="-h -l --total"
local df_dir="total"
@ -898,7 +898,7 @@ figet_resolution() { # thanks neofetch, assigne $resolution
resolution="${resolution%,*}"
}
figet_shell(){ # thanks neofetch, assigne $shell
figet_shell(){ # thanks neofetch, assigne $shell
shell="${SHELL##*/}"
case "${SHELL##*/}" in
"bash")
@ -996,7 +996,7 @@ fscript_cronAnacron(){ # v27/08/2017
}
# version script en ligne, assigne $versionScript, $script_aJour=ok|ko
fscript_get_version(){ # v27/08/2017
fscript_get_version(){ # v27/08/2017
f__requis "wget"
f__info "raw" "$GREEN""version script en cours: $version"
versionScript="$(wget -q --tries=2 --timeout=15 -O - "$urlScript" | grep '^version=' | cut -d '=' -f 2)"
@ -1012,7 +1012,7 @@ fscript_get_version(){ # v27/08/2017
}
# installation du script dans le système
fscript_install(){ # v27/08/2017
fscript_install(){ # v27/08/2017
[ "$(type -t fscript_install_special)" ] && fscript_install_special # test, si fonction spécifique, appel
if dirname "$0" | grep -q 'bin' ; then
f__info "$RED""$script $version est déjà installé"