update install
This commit is contained in:
		| @@ -1,9 +1,7 @@ | |||||||
| { | { | ||||||
|     "tribeId": "adminapi", |     "tribeId": "adminapi", | ||||||
|     "idxname":{"towns":"towns","nation":"nations","pagans":"alias"}, |     "idxname":{"towns":"towns","nation":"nations","pagans":"alias"}, | ||||||
|     "dns": [ |     "dns": [], | ||||||
|         "adminapx.adminapi" |  | ||||||
|     ], |  | ||||||
|     "status": "unchain", |     "status": "unchain", | ||||||
|     "nationId": "", |     "nationId": "", | ||||||
|     "townId": "", |     "townId": "", | ||||||
|   | |||||||
| @@ -34,11 +34,11 @@ if [[ $? -eq 0 ]]; then | |||||||
|    urlko=1 |    urlko=1 | ||||||
| fi | fi | ||||||
| if [[ "$urlok" -eq 1 || -z "$tribe" ]]; then | if [[ "$urlok" -eq 1 || -z "$tribe" ]]; then | ||||||
|    echo "Need params command must be . setup.sh <tribename> <url to get data> <gitrepourl>"i |    echo "Need more params, cmd must be $ . setup.sh <tribename> <url to get data> <gitrepourl>" | ||||||
|    echo "Example1: setup.sh adminapi https://testwall-ants.ndda.fr https://gitea.ndda.fr/apxtri/adminapi" |    echo "Example1: . setup.sh adminapi https://testwall-ants.ndda.fr https://gitea.ndda.fr/apxtri/adminapi" | ||||||
|    echo "install adminapi from the repo (with git accessright) and get data for adminapi from testwall-ants.nnda.fr" |    echo "          install adminapi from the repo (with git accessright) and get data for adminapi from testwall-ants.nnda.fr" | ||||||
|    echo "Example2: setup.sh smatchit https://testwall-ants.ndda.fr" |    echo "Example2: setup.sh smatchit https://testwall-ants.ndda.fr" | ||||||
|    echo "install smatchit as a copy of testwall-ants.ndda.fr and not from the git" |    echo "          install smatchit as a copy of testwall-ants.ndda.fr but not from the git (you don't need to have git acess but need to know a specific code)" | ||||||
| else | else | ||||||
|    if [ -z "$gitrepo" ]; then |    if [ -z "$gitrepo" ]; then | ||||||
|       wget "${url}/${tribe}/setup.apxtri.tar.gz" |       wget "${url}/${tribe}/setup.apxtri.tar.gz" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user