rev auto-installation

This commit is contained in:
kyodev 2018-01-13 05:12:42 +01:00
parent 6148e73380
commit bf2c3e523a
1 changed files with 4 additions and 2 deletions

View File

@ -989,9 +989,11 @@ chromeFfx="userChrome.css" # nom du fichier userChrome.css sur un dépôt dista
options=$@
if [ "$( dirname $0 )" == "." ] && [ ! -e "$fileDev" ]; then
options="-i" # script install
# auto-installation script éventuel, si pas de marqueur $fileDev
if [[ $( dirname $0 ) != $( dirname $script_install ) && $( dirname $0 ) != "/usr/bin" && ! -e "$fileDev" ]]; then
options="-i" # option installation script
fi
[ "$options" ] || options="-h" # vide? help
for j in $options; do