mirror of https://framagit.org/kyodev/kyopages.git
getFirefox 4.6.1
This commit is contained in:
parent
5cc96fb935
commit
708201fb50
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
version=4.6.0
|
||||
version=4.6.1
|
||||
date="26/12/2017"
|
||||
projet="simpledeb"
|
||||
contact="IRC freenode ##sdeb ou https://framagit.org/kyodev/kyopages/issues/"
|
||||
|
@ -306,7 +306,7 @@ f_help(){ # 26/12/2017
|
|||
echo -e "$STD Tor Browser, voir getXfox:$YELLOW https://kyodev.frama.io/kyopages/scripts/getXfox/\n$STD"
|
||||
}
|
||||
|
||||
# traitement utilisateur(profiles.ini), $1=canal
|
||||
# traitement utilisateur(profiles.ini), $1=canal, [$2='user'] si appel indépendant pour reconfiguration
|
||||
ffx_config_profil(){ # 26/12/2017
|
||||
local nbProfiles canal="$1" appli="Firefox"
|
||||
|
||||
|
@ -327,7 +327,7 @@ ffx_config_profil(){ # 26/12/2017
|
|||
fi
|
||||
# inscription canal dans profil.ini, à la fin, si inexistant
|
||||
if ! grep -q "Name=$canal" "$dirProfilFfx/profiles.ini" ; then
|
||||
# comptage profils existants
|
||||
# comptage profils existants
|
||||
nbProfiles=$( grep -cEs '\[Profile[0-9]+\]' "$dirProfilFfx/profiles.ini" )
|
||||
# création profil dans profile.ini
|
||||
echo >> "$dirProfilFfx/profiles.ini"
|
||||
|
@ -344,6 +344,7 @@ ffx_config_profil(){ # 26/12/2017
|
|||
ffx_config_system(){ # 26/12/2017
|
||||
local canal="$1" appli="Firefox" profileIni="$dirProfilFfx/profiles.ini"
|
||||
local ligne numero marqueur stockage
|
||||
|
||||
if [ "$EUID" -ne 0 ]; then
|
||||
f__info "vous devez être$RED ROOT$BLUE pour configurer $canal comme défaut dans le système"
|
||||
f__sudo "exec $0 u-$canal"
|
||||
|
@ -1026,7 +1027,7 @@ for j in $options; do
|
|||
produit=${j#*-}
|
||||
[ "$produit" == "all" ] && produit="$produit_all"
|
||||
for k in $produit; do
|
||||
ffx_config_profil "$k" # configurer un canal pour user en cours
|
||||
ffx_config_profil "$k" "user" # configurer un canal pour user en cours
|
||||
ffx_config_system "$k" # défaut système
|
||||
done
|
||||
exit ;;
|
||||
|
|
|
@ -1,6 +1,12 @@
|
|||
# changelog getFirefox
|
||||
|
||||
|
||||
## getFirefox 4.6.1 26/12/2017
|
||||
|
||||
révision: f__info, option combinée raw:log
|
||||
révision: f_help
|
||||
remodelage: deux fonctions config_profil, config_system (traitement profil et défaut système)
|
||||
|
||||
## getFirefox 4.5.0 25/12/2017
|
||||
|
||||
* cosmétique
|
||||
|
|
Loading…
Reference in New Issue