mirror of https://framagit.org/kyodev/kyopages.git
0.5.2
This commit is contained in:
parent
83090903ae
commit
fb9ddb665a
|
@ -93,11 +93,13 @@ lancer le script sans arguments: `getFirefox`ou avec l'option help `getFirefox h
|
||||||
|
|
||||||
getFirefox +latest : installation de Firefox Release
|
getFirefox +latest : installation de Firefox Release
|
||||||
getFirefox +beta : installation de Firefox Beta
|
getFirefox +beta : installation de Firefox Beta
|
||||||
|
getFirefox +dev : installation de Firefox Developer Edition
|
||||||
getFirefox +nightly : installation de Firefox Nightly
|
getFirefox +nightly : installation de Firefox Nightly
|
||||||
getFirefox +esr : installation de Firefox ESR
|
getFirefox +esr : installation de Firefox ESR
|
||||||
----
|
----
|
||||||
getFirefox -latest : désinstallation Firefox Release
|
getFirefox -latest : désinstallation Firefox Release
|
||||||
getFirefox -beta : désinstallation Firefox Beta
|
getFirefox -beta : désinstallation Firefox Beta
|
||||||
|
getFirefox -dev : installation de Firefox Developer Edition
|
||||||
getFirefox -nightly : désinstallation Firefox Nightly
|
getFirefox -nightly : désinstallation Firefox Nightly
|
||||||
getFirefox -esr : désinstallation Firefox ESR
|
getFirefox -esr : désinstallation Firefox ESR
|
||||||
----
|
----
|
||||||
|
@ -164,20 +166,21 @@ vVVv vVVv ': |_| |_| |_|\___/___|_|_|_|\__,_| ''
|
||||||
une **copie** sera utilisée pour le profil latest (ou ESR). le passage d'une version paquet Debian à une version
|
une **copie** sera utilisée pour le profil latest (ou ESR). le passage d'une version paquet Debian à une version
|
||||||
Mozilla Release (ou ESR) utilisera donc une copie du profil en cours.
|
Mozilla Release (ou ESR) utilisera donc une copie du profil en cours.
|
||||||
* les canaux ***Release, Beta, Nightly peuvent coexister***
|
* les canaux ***Release, Beta, Nightly peuvent coexister***
|
||||||
* chaque canal peut être lancé en console: `firefox-latest` `firefox-beta` `firefox-nightly` `firefox-esr`
|
* chaque canal peut être lancé en console: `firefox-latest` `firefox-beta` `firefox-dev` `firefox-nightly` `firefox-esr`
|
||||||
* le canal _latest_ (ou _esr_) peut lui être lancé avec: `firefox`
|
* le canal _latest_ (ou _esr_) peut lui être lancé avec: `firefox`
|
||||||
|
|
||||||
|
|
||||||
3 autres canaux sont possibles:
|
4 autres canaux sont possibles:
|
||||||
|
|
||||||
* Beta, qui deviendra la future version Release
|
* Beta, qui deviendra la future version Release
|
||||||
|
* Developer Edition, basée sur la beta avec des outils de développement web
|
||||||
* Nightly, réservé aux aventuriers, mise à jour tous les jours
|
* Nightly, réservé aux aventuriers, mise à jour tous les jours
|
||||||
[Mozilla Nightly](https://blog.nightly.mozilla.org/)
|
[Mozilla Nightly](https://blog.nightly.mozilla.org/)
|
||||||
* ESR, mise à jour majeure toutes les ans environ, avec support à plus long terme.
|
* ESR, mise à jour majeure toutes les ans environ, avec support à plus long terme.
|
||||||
en savoir plus [Mozilla ESR](https://developer.mozilla.org/fr/Firefox/Firefox_ESR)
|
en savoir plus [Mozilla ESR](https://developer.mozilla.org/fr/Firefox/Firefox_ESR)
|
||||||
|
|
||||||
les canaux par ordre croissant de versions:
|
les canaux par ordre croissant de versions:
|
||||||
` ESR <= release < beta==dev edition < nightly `
|
` ESR <= release < beta==developer edition < nightly `
|
||||||
|
|
||||||
la version **aurora** est abandonnée et la **developer edition** est basée sur la version beta
|
la version **aurora** est abandonnée et la **developer edition** est basée sur la version beta
|
||||||
|
|
||||||
|
@ -206,11 +209,12 @@ les versions installées par ce script.
|
||||||
\__, |\___|\__|_| |_|_| \___|_| \___/_/\_\
|
\__, |\___|\__|_| |_|_| \___|_| \___/_/\_\
|
||||||
|___/
|
|___/
|
||||||
|
|
||||||
pour Debian, version 0.5.0 - 19/07/2017
|
pour Debian, version 0.5.2 - 20/07/2017
|
||||||
|
|
||||||
Firefox installé(s):
|
Firefox installé(s):
|
||||||
latest: 54.0.1
|
latest: 54.0.1
|
||||||
beta: 55.0
|
beta: 55.0
|
||||||
|
dev: 55.0
|
||||||
nightly: 56.0a1
|
nightly: 56.0a1
|
||||||
|
|
||||||
Version Firefox en ligne:
|
Version Firefox en ligne:
|
||||||
|
|
|
@ -13,24 +13,23 @@ f__testWget(){
|
||||||
}
|
}
|
||||||
|
|
||||||
for architecture in linux linux64; do
|
for architecture in linux linux64; do
|
||||||
echo ""
|
echo ""
|
||||||
echo "Architecture: $architecture"
|
echo "Architecture: $architecture"
|
||||||
echo "====================="
|
echo "====================="
|
||||||
for product in latest esr beta nightly dev; do
|
for product in latest esr beta dev nightly; do
|
||||||
if [ "$product" == "latest" ]; then
|
if [ "$product" == "latest" ]; then
|
||||||
recup_url="https://download.mozilla.org/?product=firefox-$product&os=$architecture&lang=fr"
|
recup_url="https://download.mozilla.org/?product=firefox-$product&os=$architecture&lang=fr"
|
||||||
elif [ "$product" == "esr" ]; then
|
elif [ "$product" == "esr" ]; then
|
||||||
recup_url="https://download.mozilla.org/?product=firefox-$product-latest&os=$architecture&lang=fr"
|
recup_url="https://download.mozilla.org/?product=firefox-$product-latest&os=$architecture&lang=fr"
|
||||||
elif [ "$product" == "beta" ]; then
|
elif [ "$product" == "beta" ]; then
|
||||||
recup_url="https://download.mozilla.org/?product=firefox-beta-latest&os=$architecture&lang=fr"
|
recup_url="https://download.mozilla.org/?product=firefox-beta-latest&os=$architecture&lang=fr"
|
||||||
elif [ "$product" == "nightly" ]; then
|
elif [ "$product" == "dev" ]; then
|
||||||
recup_url="https://download.mozilla.org/?product=firefox-$product-latest-l10n-ssl&os=linux&lang=fr"
|
recup_url="https://download.mozilla.org/?product=firefox-devedition-latest-ssl&os=$architecture&lang=fr"
|
||||||
elif [ "$product" == "dev" ]; then
|
elif [ "$product" == "nightly" ]; then
|
||||||
recup_url="https://download.mozilla.org/?product=firefox-devedition-latest-ssl&os=$architecture&lang=fr"
|
recup_url="https://download.mozilla.org/?product=firefox-$product-latest-l10n-ssl&os=linux&lang=fr" ;fi
|
||||||
fi
|
|
||||||
|
|
||||||
f__testWget "$product" "$recup_url"
|
f__testWget "$product" "$recup_url"
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|
||||||
rm tempoTest
|
rm tempoTest
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
version=0.5.1
|
version=0.5.2
|
||||||
date="20/07/2017"
|
date="20/07/2017"
|
||||||
projet="Kyodev"
|
projet="Kyodev"
|
||||||
contact="IRC freenode ##sdeb ou https://framagit.org/kyodev/kyopages/issues"
|
contact="IRC freenode ##sdeb ou https://framagit.org/kyodev/kyopages/issues"
|
||||||
|
@ -241,11 +241,13 @@ cat << 'EOF'
|
||||||
|
|
||||||
getFirefox +latest : installation de Firefox Release
|
getFirefox +latest : installation de Firefox Release
|
||||||
getFirefox +beta : installation de Firefox Beta
|
getFirefox +beta : installation de Firefox Beta
|
||||||
|
getFirefox +dev : installation de Firefox Developer Edition
|
||||||
getFirefox +nightly : installation de Firefox Nightly
|
getFirefox +nightly : installation de Firefox Nightly
|
||||||
getFirefox +esr : installation de Firefox ESR
|
getFirefox +esr : installation de Firefox ESR
|
||||||
----
|
----
|
||||||
getFirefox -latest : désinstallation Firefox Release
|
getFirefox -latest : désinstallation Firefox Release
|
||||||
getFirefox -beta : désinstallation Firefox Beta
|
getFirefox -beta : désinstallation Firefox Beta
|
||||||
|
getFirefox -dev : installation de Firefox Developer Edition
|
||||||
getFirefox -nightly : désinstallation Firefox Nightly
|
getFirefox -nightly : désinstallation Firefox Nightly
|
||||||
getFirefox -esr : désinstallation Firefox ESR
|
getFirefox -esr : désinstallation Firefox ESR
|
||||||
----
|
----
|
||||||
|
@ -271,7 +273,7 @@ ffx_versionFF(){
|
||||||
stockUrlOnline="$(wget -q --tries=2 --timeout=15 --user-agent=$user_agent -O - $urlOnline)"
|
stockUrlOnline="$(wget -q --tries=2 --timeout=15 --user-agent=$user_agent -O - $urlOnline)"
|
||||||
verLatest="$(echo $stockUrlOnline | grep -Eo 'data-latest-firefox="[0-9\.]+"' | grep -Eo '[0-9\.]+')"
|
verLatest="$(echo $stockUrlOnline | grep -Eo 'data-latest-firefox="[0-9\.]+"' | grep -Eo '[0-9\.]+')"
|
||||||
verEsr="$(echo $stockUrlOnline | grep -Eo 'data-esr-versions="[0-9\.]+"' | grep -Eo '[0-9\.]+')"
|
verEsr="$(echo $stockUrlOnline | grep -Eo 'data-esr-versions="[0-9\.]+"' | grep -Eo '[0-9\.]+')"
|
||||||
for product in latest esr beta nightly; do
|
for product in latest esr beta dev nightly; do
|
||||||
if [ -x "$dirInstall$product/firefox" ]; then
|
if [ -x "$dirInstall$product/firefox" ]; then
|
||||||
versionInstall+="\n $product: $($dirInstall$product/firefox -v | grep -Eo '[0-9].*')"
|
versionInstall+="\n $product: $($dirInstall$product/firefox -v | grep -Eo '[0-9].*')"
|
||||||
fi
|
fi
|
||||||
|
@ -339,12 +341,14 @@ ffx_profileIni(){
|
||||||
|
|
||||||
# calcul url téléchargement, assigne $recup_url
|
# calcul url téléchargement, assigne $recup_url
|
||||||
ffx_recup_url(){
|
ffx_recup_url(){
|
||||||
if [ "$product" == "latest" ]; then
|
if [ "$product" == "latest" ]; then
|
||||||
recup_url="https://download.mozilla.org/?product=firefox-$product&os=$architecture&lang=fr"
|
recup_url="https://download.mozilla.org/?product=firefox-$product&os=$architecture&lang=fr"
|
||||||
elif [ "$product" == "esr" ]; then
|
elif [ "$product" == "esr" ]; then
|
||||||
recup_url="https://download.mozilla.org/?product=firefox-$product-latest&os=$architecture&lang=fr"
|
recup_url="https://download.mozilla.org/?product=firefox-$product-latest&os=$architecture&lang=fr"
|
||||||
elif [ "$product" == "beta" ]; then
|
elif [ "$product" == "beta" ]; then
|
||||||
recup_url="https://download.mozilla.org/?product=firefox-beta-latest&os=$architecture&lang=fr"
|
recup_url="https://download.mozilla.org/?product=firefox-beta-latest&os=$architecture&lang=fr"
|
||||||
|
elif [ "$product" == "dev" ]; then
|
||||||
|
recup_url="https://download.mozilla.org/?product=firefox-devedition-latest-ssl&os=$architecture&lang=fr"
|
||||||
elif [ "$product" == "nightly" ]; then
|
elif [ "$product" == "nightly" ]; then
|
||||||
recup_url="https://download.mozilla.org/?product=firefox-$product-latest-l10n-ssl&os=linux&lang=fr" ;fi
|
recup_url="https://download.mozilla.org/?product=firefox-$product-latest-l10n-ssl&os=linux&lang=fr" ;fi
|
||||||
}
|
}
|
||||||
|
@ -459,10 +463,10 @@ case "$1" in
|
||||||
opType="upgrade"
|
opType="upgrade"
|
||||||
fscript_version
|
fscript_version
|
||||||
fscript_dl ;; # upgrade script si maj possible
|
fscript_dl ;; # upgrade script si maj possible
|
||||||
+latest | +esr | +beta | +nightly )
|
+latest | +esr | +dev | +beta | +nightly )
|
||||||
product="$(echo $1 | sed 's/+//')"
|
product="$(echo $1 | sed 's/+//')"
|
||||||
ffx_install ;; # installation plugin
|
ffx_install ;; # installation plugin
|
||||||
-latest | -esr | -beta | -nightly )
|
-latest | -esr | -dev | -beta | -nightly )
|
||||||
product="$(echo $1 | sed 's/-//')"
|
product="$(echo $1 | sed 's/-//')"
|
||||||
ffx_remove ;; # désinstallation plugin
|
ffx_remove ;; # désinstallation plugin
|
||||||
"manuel" )
|
"manuel" )
|
||||||
|
|
|
@ -5,16 +5,16 @@
|
||||||
* installation manuelle archive
|
* installation manuelle archive
|
||||||
* téléchargement archive
|
* téléchargement archive
|
||||||
* plus d'architecture? (arm)?
|
* plus d'architecture? (arm)?
|
||||||
* voir alternatives par ordre croissant, latest ou esr sinon beta sinon nightly
|
* voir alternatives par ordre croissant, latest ou esr sinon beta sinon nightly (dev out)
|
||||||
* récupérer icône aurora pour beta?
|
|
||||||
* améliorer les installations pour autres users
|
* améliorer les installations pour autres users
|
||||||
* version enligne autre que esr et release
|
* version enligne autre que esr et release
|
||||||
* dev edition?
|
|
||||||
|
|
||||||
|
|
||||||
## 0.5.1 20/07/17
|
## 0.5.2 20/07/17
|
||||||
|
|
||||||
* fix bug: détection profil existant dans profile.ini
|
* fix bug: détection profil existant dans profile.ini
|
||||||
|
* mieux: developer edition. malgré sa gestion autonome du profil, fonctionnement du script non modifié
|
||||||
|
si jamais changement futur
|
||||||
|
|
||||||
|
|
||||||
## 0.5.0 19/07/17
|
## 0.5.0 19/07/17
|
||||||
|
|
Loading…
Reference in New Issue