From 2023700667985a49eca2414e3d0a150b92cf92fe Mon Sep 17 00:00:00 2001 From: kyodev Date: Fri, 21 Jul 2017 11:26:13 +0200 Subject: [PATCH] 0.6.1 --- docs/scripts/getFirefox.md | 2 ++ scripts/getFirefox | 6 +++--- scripts/getFirefox_changelog.md | 5 +++++ 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/docs/scripts/getFirefox.md b/docs/scripts/getFirefox.md index 75eca44..205f07e 100644 --- a/docs/scripts/getFirefox.md +++ b/docs/scripts/getFirefox.md @@ -11,6 +11,7 @@ fond, et une version majeure toutes les 6 semaines être faites avec les privilèges **root** +
## messages avertissement ```text @@ -45,6 +46,7 @@ getFirefox -beta getFirefox +beta ``` le profil est conservé, rien ne sera perdu +
## installation rapide du script: diff --git a/scripts/getFirefox b/scripts/getFirefox index 04bfd7a..7d02074 100755 --- a/scripts/getFirefox +++ b/scripts/getFirefox @@ -1,7 +1,7 @@ #!/bin/bash -version=0.6.0 -date="20/07/2017" +version=0.6.1 +date="21/07/2017" projet="Kyodev" contact="IRC freenode ##sdeb ou https://framagit.org/kyodev/kyopages/issues" script="getFirefox" @@ -342,7 +342,7 @@ ffx_profilUser(){ profileDefault="$(grep -r '\.default' $fileProfileIni | sed 's/Path=//')" # si profileDefault & répertoire profileDefault & product latest ou esr puis si répertoire latest ou esr non déjà existant if [ "$profileDefault" ] && [ -d "$dirProfil/$profileDefault" ] && [ "$product" == "latest" ] || [ "$product" == "esr" ]; then - if [ ! -d "$dirProfil/latest" ] || [ ! -d "$dirProfil/esr" ]; then + if [ ! -d "$dirProfil/$product" ]; then mkdir -p "$dirProfil/$product" f__info "récupération du profil default existant $profileDefault" cp -R "$dirProfil/$profileDefault"/* "$dirProfil/$product/" diff --git a/scripts/getFirefox_changelog.md b/scripts/getFirefox_changelog.md index b722c60..76c6978 100644 --- a/scripts/getFirefox_changelog.md +++ b/scripts/getFirefox_changelog.md @@ -2,9 +2,14 @@ ## todo +* suppression profil? * voir alternatives par ordre croissant, latest ou esr sinon beta sinon nightly (hors dev) +## 0.6.1 21/07/17 + +* fix bug: copie profile default si profil existant pour latest ou esr + ## 0.6.0 20/07/17 * mieux: gestion profile.ini si Firefox jamais installé