From c7f8f97a3669fdb1c71fe08c1b2af13bd9965077 Mon Sep 17 00:00:00 2001 From: Alexis Gavoty Date: Sat, 7 Dec 2013 17:24:42 +0100 Subject: [PATCH] Even less curly curl --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 531adec..159c79b 100755 --- a/scripts/install +++ b/scripts/install @@ -69,7 +69,7 @@ sudo yunohost app ssowatconf # Wordpress installation echo "127.0.0.1 $domain #yunowordpress" | sudo tee -a /etc/hosts sleep 1 -curl -kL -X POST --data "?step=2&weblog_title=YunoBlog&user_name=admin&admin_password=$admin_passwd&admin_password2=$admin_passwd&admin_email=admin@$domain&Submit=Install+WordPress" http://$domain$path/wp-admin/install.php?step=2 +curl -kL -X POST --data "?step=2&weblog_title=YunoBlog&user_name=admin&admin_password=$admin_passwd&admin_password2=$admin_passwd&admin_email=admin@$domain&Submit=Install+WordPress" http://$domain$path/wp-admin/install.php?step=2 > /dev/null 2>&1 sleep 5 mysql -u $db_user -p$db_pwd $db_user -e "select * from wp_options;" > /dev/null 2>&1 result=$?