mirror of
https://github.com/YunoHost-Apps/wordpress_ynh.git
synced 2024-09-03 20:36:10 +02:00
Even less curly curl
This commit is contained in:
parent
3bb8a03d5f
commit
c7f8f97a36
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ sudo yunohost app ssowatconf
|
||||||
# Wordpress installation
|
# Wordpress installation
|
||||||
echo "127.0.0.1 $domain #yunowordpress" | sudo tee -a /etc/hosts
|
echo "127.0.0.1 $domain #yunowordpress" | sudo tee -a /etc/hosts
|
||||||
sleep 1
|
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
|
sleep 5
|
||||||
mysql -u $db_user -p$db_pwd $db_user -e "select * from wp_options;" > /dev/null 2>&1
|
mysql -u $db_user -p$db_pwd $db_user -e "select * from wp_options;" > /dev/null 2>&1
|
||||||
result=$?
|
result=$?
|
||||||
|
|
Loading…
Add table
Reference in a new issue