mirror of https://framagit.org/kyodev/kyopages.git
getFirefox 3.10.0
This commit is contained in:
parent
8501a5a1f5
commit
3f5300b254
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
version=3.9.0
|
||||
date="08/10/2017"
|
||||
version=3.10.0
|
||||
date="11/10/2017"
|
||||
projet="simpledeb"
|
||||
contact="IRC freenode ##sdeb ou https://framagit.org/kyodev/kyopages/issues/"
|
||||
script="getFirefox"
|
||||
|
@ -144,11 +144,11 @@ f__requis(){ # 22/09/2017
|
|||
}
|
||||
|
||||
# $1=cmd si $2: nb de tentatives pour s'identifier, sinon 1 tentative par défaut
|
||||
f__sudo(){ # 08/10/2017
|
||||
f__sudo(){ # 11/10/2017
|
||||
local nb=1 sudo isudo
|
||||
# sudo --shell bash équivalent su ?
|
||||
if sudo -v &>/dev/null && [ $EUID -ne 0 ] ; then
|
||||
sudo="sudo --shell $(which bash) "
|
||||
sudo="sudo su --shell $(which bash) --preserve-environment -c "
|
||||
else
|
||||
sudo="su --shell $(which bash) --preserve-environment -c "
|
||||
fi
|
||||
|
|
|
@ -4,6 +4,10 @@
|
|||
|
||||
* placé ln dans /usr/local/bin au lieu de /usr/bin ?
|
||||
|
||||
## 3.10.0 11/10/2017
|
||||
|
||||
* fix f__sudo : fonctionnement avec sudo
|
||||
|
||||
## 3.9.0 08/10/2017
|
||||
|
||||
* f__wget_test(): nouvelle option test, nouveau nommage fichier temp
|
||||
|
|
Loading…
Reference in New Issue