1
0
Fork 0
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:
Josué Tille 2023-12-12 21:12:26 +01:00
parent 08054e3b72
commit 8c9d54fea2
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF

View file

@ -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
}