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=$@
|
options=$@
|
||||||
if [ "$( dirname $0 )" == "." ] && [ ! -e "$fileDev" ]; then
|
# auto-installation script éventuel, si pas de marqueur $fileDev
|
||||||
options="-i" # script install
|
if [[ $( dirname $0 ) != $( dirname $script_install ) && $( dirname $0 ) != "/usr/bin" && ! -e "$fileDev" ]]; then
|
||||||
|
options="-i" # option installation script
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ "$options" ] || options="-h" # vide? help
|
[ "$options" ] || options="-h" # vide? help
|
||||||
|
|
||||||
for j in $options; do
|
for j in $options; do
|
||||||
|
|
Loading…
Reference in New Issue