diff --git a/scripts/install b/scripts/install index 2c3b463..d247e5a 100644 --- a/scripts/install +++ b/scripts/install @@ -103,8 +103,9 @@ sudo yunohost app ssowatconf # Wordpress installation curl -kL -H "Host: $domain" --data "&weblog_title=YunoBlog&user_name=$admin_wordpress&admin_password=$db_pwd&admin_password2=$db_pwd&admin_email=$admin_wordpress@$domain&language=$language&Submit=Install+WordPress" https://localhost$path/wp-admin/install.php?step=2 > /dev/null 2>&1 -for i in `seq 1 30` -do # La boucle attend la fin de l'installation de wordpress Ou 30 secondes. +echo -n "Please wait during Wordpress installation" >&2 +for i in `seq 1 300` +do # La boucle attend la fin de l'installation de wordpress Ou 5 minutes. if mysql --debug-check -u $db_user -p$db_pwd $db_user -e "show tables" | grep -q "wp_options"; then break # Si la table wp_options est trouvée, l'installation de wordpress est terminée. Quitte la boucle. fi