mirror of https://framagit.org/kyodev/kyopages.git
2.6.3 cosmetic
This commit is contained in:
parent
d47cb7ff95
commit
6d29bff788
|
@ -269,6 +269,14 @@ fflash_recup_url_v1(){
|
|||
recup_url="$recup1$verFlash/flash_player_npapi_linux.$recup2.tar.gz"
|
||||
}
|
||||
|
||||
# installation du plugin chargé manuellement, $1
|
||||
fflash_install_manuel(){
|
||||
if [ ! -e "$1" ]; then f__error "fichier plugin $1 introuvable"; fi
|
||||
f__testArchive "$1" || f__error "Le fichier $1 n'est pas une archive tar.gz valide"
|
||||
f__info "installation manuelle $1"
|
||||
fflash_install "manuel" "$1"
|
||||
}
|
||||
|
||||
# install plugin dans config user mozilla, $1 manuel (install manuelle), # $2 script à installer si install manuelle
|
||||
fflash_install(){
|
||||
if [ "$opType" != "upgrade" ]; then fflash_avert; fi
|
||||
|
@ -328,14 +336,6 @@ fflash_remove(){
|
|||
f__info "$GREEN FlashPlayer $verFlashRemove désinstallé pour $user_"
|
||||
}
|
||||
|
||||
# installation du plugin chargé manuellement, $1
|
||||
fflash_manuelInstall(){
|
||||
if [ ! -e "$1" ]; then f__error "fichier plugin $1 introuvable"; fi
|
||||
f__testArchive "$1" || f__error "Le fichier $1 n'est pas une archive tar.gz valide"
|
||||
f__info "installation manuelle $1"
|
||||
fflash_install "manuel" "$1"
|
||||
}
|
||||
|
||||
|
||||
#initialisation
|
||||
f__user
|
||||
|
@ -365,7 +365,7 @@ case "$1" in
|
|||
fflash_version
|
||||
fflash_upgrade ;; # upgrade plugin et script si MAJs possibles
|
||||
"manuel" )
|
||||
fflash_manuelInstall "$2" ;; # install manuelle d'un chargement
|
||||
fflash_install_manuel "$2" ;; # install manuelle d'un chargement
|
||||
* )
|
||||
fflash_help
|
||||
fflash_avert ;; # affichage help par défaut
|
||||
|
|
Loading…
Reference in New Issue