1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wordpress_ynh.git synced 2024-09-03 20:36:10 +02:00

Update install

This commit is contained in:
abeudin 2013-12-05 12:00:19 +01:00
parent 2856338c26
commit 965dba23dc

View file

@ -49,9 +49,9 @@ sudo yunohost app ssowatconf
#Installation Wordpress
echo '127.0.0.1 $domain #wordpress' | sudo tee -a /etc/hosts
curl -X POST -A "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:12.0) Gecko/20100101 Firefox/12.0" -e "http://$domain$path/wp-admin/install.php?step=2" -H "Content-Type:application/x-www-form-urlencoded" -H "Accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" -H "Accept-Encoding:gzip, deflate" --data "?step=2&weblog_title=Yunohost&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&weblog_title=Yunohost&user_name=admin&admin_password=$admin_passwd&admin_password2=$admin_passwd&admin_email=admin@$domain&Submit=Install+WordPress
#if [ $4 = "n" ];
#then
#sudo yunohost app setting wordpress skipped_uris -v "/"
#sudo yunohost app ssowatconf
#fi
if [ $4 = "n" ];
then
sudo yunohost app setting wordpress skipped_uris -d
sudo yunohost app ssowatconf
fi
sudo sed -i '/wordpress/d' /etc/hosts