mirror of https://framagit.org/kyodev/kyopages.git
rev auto-installation
This commit is contained in:
parent
6148e73380
commit
bf2c3e523a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue