mirror of https://framagit.org/kyodev/kyopages.git
0.9.1
This commit is contained in:
parent
ea10574ab1
commit
2374db0c9c
|
@ -33,7 +33,7 @@ lancer le script sans arguments: `getFlashPlayer`
|
|||
\__, |\___|\__|_| |_|\__,_|___/_| |_|_| |_|\__,_|\__, |\___|_|
|
||||
|___/ |___/
|
||||
|
||||
pour Firefox sur Debian, version 0.9.0 - 10/06/2017
|
||||
pour Firefox sur Debian, version 0.9.1 - 10/06/2017
|
||||
|
||||
-----------------------------------------------------------------------
|
||||
./getFlashPlayer : installation du script dans le système, en ROOT
|
||||
|
@ -41,8 +41,9 @@ lancer le script sans arguments: `getFlashPlayer`
|
|||
getFlashPlayer install : téléchargement & installation de FlashPlayer
|
||||
getFlashPlayer remove : désinstallation de FlashPlayer
|
||||
getFlashPlayer version : version en ligne de FlashPlayer
|
||||
----
|
||||
getFlashPlayer test : installation version de test de FlashPlayer
|
||||
|
||||
----
|
||||
getFlashPlayer sysremove : désinstall du script du système, en ROOT
|
||||
-----------------------------------------------------------------------
|
||||
Ce script doit être exécuté avec les droits root uniquement pour
|
||||
|
@ -120,7 +121,13 @@ en **root**: `getFlashPlayer sysremove`
|
|||
|
||||
sur [framagit](https://framagit.org/kyodev/kyopages/blob/master/scripts/getFlashPlayer)
|
||||
|
||||
|
||||
## Contact
|
||||
|
||||
pour tout problème ou suggestion, concernant ce script, n'hésitez pas à contacter Kyodev [Framagit](https://framagit.org/kyodev/kyopages/issues)
|
||||
pour tout problème ou suggestion concernant ce script, n'hésitez pas à ouvrir une issue
|
||||
[Framagit](https://framagit.org/kyodev/kyopages/issues)
|
||||
|
||||
|
||||
## LPRAB/WTFPL
|
||||
|
||||
[license](https://framagit.org/kyodev/kyopages/blob/master/LICENSE)
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
version="0.9.0"
|
||||
version="0.9.1"
|
||||
projet="Kyodev"
|
||||
contact="https://framagit.org/kyodev/kyopages/issues"
|
||||
date="10/06/2017"
|
||||
script="getFlashPlayer"
|
||||
|
||||
##### licence LPRAB/WTFPL
|
||||
##### license LPRAB/WTFPL
|
||||
# auteurs: kyodev
|
||||
# contibuteurs: coyotus
|
||||
# idée: naguam
|
||||
|
@ -107,12 +107,12 @@ cat << 'EOF'
|
|||
getFlashPlayer install : téléchargement & installation de FlashPlayer
|
||||
getFlashPlayer remove : désinstallation de FlashPlayer
|
||||
getFlashPlayer version : version en ligne de FlashPlayer
|
||||
----
|
||||
getFlashPlayer test : installation version de test de FlashPlayer
|
||||
|
||||
----
|
||||
getFlashPlayer sysremove : désinstall du script du système, en ROOT
|
||||
EOF
|
||||
printf $COLOR
|
||||
cat << 'EOF'
|
||||
printf $COLOR; cat << 'EOF'
|
||||
-----------------------------------------------------------------------
|
||||
Ce script doit être exécuté avec les droits root uniquement pour
|
||||
l'installation et la suppresion du script dans le système.
|
||||
|
@ -214,7 +214,6 @@ f_remove(){
|
|||
|
||||
|
||||
### traitements arguments =============================================
|
||||
|
||||
if [ "$#" -gt 1 ]; then cmd="help" && f_info "$RED trop d'arguments"
|
||||
elif [ "$1" == "install" ]; then cmd="install"; flashTest='no'
|
||||
elif [ "$1" == "remove" ]; then cmd="remove"
|
||||
|
@ -224,23 +223,22 @@ elif [ "$1" == "sysremove" ]; then cmd="sysremove"
|
|||
else cmd="help"
|
||||
fi
|
||||
|
||||
|
||||
#### installation script si pas dans le système ========================
|
||||
#### installation du script si pas dans le système =====================
|
||||
if ! f_scriptBin ; then f_sysinstall; fi
|
||||
|
||||
#### désinstallation du script =========================================
|
||||
if [ "$cmd" == "sysremove" ]; then f_sysremove; fi
|
||||
|
||||
#### help ==============================================================
|
||||
if [ "$cmd" == "help" ]; then f_help; f_avertissement; fi
|
||||
|
||||
#### système remove ====================================================
|
||||
if [ "$cmd" == "sysremove" ]; then f_sysremove; fi
|
||||
|
||||
#### fonction version en ligne =========================================
|
||||
#### version en ligne ==================================================
|
||||
if [ "$cmd" == "version" ]; then f_versionFlash; fi
|
||||
|
||||
#### remove, on vire flash =============================================
|
||||
if [ "$cmd" == "remove" ]; then f_remove; fi
|
||||
|
||||
#### installation ======================================================
|
||||
if [ "$cmd" == "install" ]; then f_install; fi
|
||||
|
||||
#### désinstallation ===================================================
|
||||
if [ "$cmd" == "remove" ]; then f_remove; fi
|
||||
|
||||
exit 0
|
||||
|
|
Loading…
Reference in New Issue