mirror of
https://github.com/YunoHost-Apps/xwiki_ynh.git
synced 2024-09-03 20:36:11 +02:00
Fix install
This commit is contained in:
parent
08054e3b72
commit
8c9d54fea2
1 changed files with 4 additions and 2 deletions
|
@ -85,9 +85,11 @@ install_exension() {
|
|||
}
|
||||
|
||||
wait_xwiki_started() {
|
||||
local res
|
||||
local res='meta http-equiv="refresh" content="1"'$
|
||||
local curl='curl --silent --show-error'
|
||||
|
||||
while echo "$res" | grep -q 'meta http-equiv="refresh" content="1"'; do
|
||||
res=($curl "http://localhost:$port$path/bin/view/Main/")
|
||||
res=$($curl "http://localhost:$port$path/bin/view/Main/")
|
||||
sleep 10
|
||||
done
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue