getXfox 4.8.0

This commit is contained in:
kyodev 2017-12-27 17:49:34 +01:00
parent 46892ee97a
commit 7718d738e2
1 changed files with 8 additions and 7 deletions

View File

@ -1,7 +1,7 @@
#!/bin/bash
version=4.7.0
date="26/12/2017"
version=4.8.0
date="27/12/2017"
projet="simpledeb"
contact="IRC freenode ##sdeb ou https://framagit.org/kyodev/kyopages/issues/"
script="getXfox"
@ -565,13 +565,13 @@ f_w_config_system(){ # 26/12/2017
[ "$3" != "no_set" ] && f__info "log:raw" "$soft est le défaut système"
}
# traitement utilisateur, [$1='user'] si appel indépendant pour reconfiguration
f_wfx_config_profil(){ # 26/12/2017
# traitement utilisateur, [$1='menu'] si appel indépendant pour reconfiguration
f_wfx_config_profil(){ # 27/12/2017
local nbProfiles appli="Waterfox"
if [ ! -d "$dirInstallWfx" ] && [ "$1" == "user" ]; then
if [ ! -d "$dirInstallWfx" ] && [ "$1" == "menu" ]; then
f__info "$appli n'est pas installé"
return 1
exit 1
fi
if [ ! -d "$profilWfx" ]; then # pas de répertoire profil
@ -1145,8 +1145,9 @@ for j in $options; do
f_wfx_pers_remove
exit ;;
u-wfx ) # configurer un profil pour un user
f_wfx_config_profil "user"
f_wfx_config_profil "menu"
f_w_config_system "wfx" "/usr/bin/waterfox"
echo
exit ;;
r-wfx ) # désinstallation
f_wfx_remove