diff --git a/scripts/getFirefox b/scripts/getFirefox index 66905b1..e8e99f2 100755 --- a/scripts/getFirefox +++ b/scripts/getFirefox @@ -1,6 +1,6 @@ #!/bin/bash -version=0.7.1 +version=0.7.2 date="21/07/2017" projet="Kyodev" contact="IRC freenode ##sdeb ou https://framagit.org/kyodev/kyopages/issues" @@ -181,6 +181,7 @@ fscript_dl(){ cp -d "$dirTemp$script" /opt/bin/"$script" rm -rf "$dirTemp" echo ""; f__info "$script mis à jour en version $versionScript" + exit 0 } #inscription dans tache upgrade en cron hebdomadaire, une partie requiert root @@ -408,7 +409,7 @@ ffx_install(){ chmod -R g+wrs,a+r "$dirInstall$product"/ rm -rf "$dirTemp" # lanceur dans /usr/bin - echo "#!/bin/sh" >> /usr/bin/firefox-"$product" + echo "#!/bin/sh" > /usr/bin/firefox-"$product" echo "exec $dirInstall$product/firefox -P $product" "$@" >> /usr/bin/firefox-"$product" chmod a+x /usr/bin/firefox-"$product" # lien dans /usr/bin pour latest ou esr en tant que firefox @@ -499,4 +500,5 @@ case "$1" in * ) ffx_help ;; # affichage help par défaut esac + exit 0 diff --git a/scripts/getFirefox_changelog.md b/scripts/getFirefox_changelog.md index 38e8a3b..466655a 100644 --- a/scripts/getFirefox_changelog.md +++ b/scripts/getFirefox_changelog.md @@ -4,9 +4,11 @@ * suppression profil? -## 0.7.1 +## 0.7.2 * mieux, nouvelles options appel install ou remove (plus homogène avec u-): i-canal & r-canal +* fix mineur: protection multi-inscription dans lanceurs usr/bin +* fix mineur: upgrade script ## 0.7.0 21/07/17