From 7718d738e255c7b4a5d82a0cfbc989317488249c Mon Sep 17 00:00:00 2001 From: kyodev Date: Wed, 27 Dec 2017 17:49:34 +0100 Subject: [PATCH] getXfox 4.8.0 --- scripts/getXfox | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/scripts/getXfox b/scripts/getXfox index a508383..16ff40f 100755 --- a/scripts/getXfox +++ b/scripts/getXfox @@ -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