1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/leed_ynh.git synced 2024-09-03 19:26:32 +02:00

sleep 1 pour curl

This commit is contained in:
Maniack Crudelis 2016-08-18 15:37:38 +02:00
parent 9c0dbf936b
commit 1e68733831

View file

@ -86,7 +86,8 @@ sudo yunohost app ssowatconf
sudo service nginx reload
# Leed installation via curl
curl -kL -H "Host: $domain" --data "install_changeLngLeed=$language&root=$domain$path&mysqlHost=localhost&mysqlLogin=$db_user&mysqlMdp=$db_pwd&mysqlBase=$db_user&mysqlPrefix=leed_&login=$admin&password=$user_pwd" https://localhost$path/install.php?installButton > /dev/null
sleep 1 # Évite un mystérieux 404...
curl -kL -H "Host: $domain" --data "install_changeLngLeed=$language&root=$domain$path&mysqlHost=localhost&mysqlLogin=$db_user&mysqlMdp=$db_pwd&mysqlBase=$db_user&mysqlPrefix=leed_&login=$admin&password=$user_pwd" "https://localhost$path/install.php?installButton" > /dev/null
# Activate Leed Market if necessary
sudo yunohost app setting $app market -v "$market"