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