mirror of
https://github.com/YunoHost-Apps/ghost_ynh.git
synced 2024-09-03 19:16:02 +02:00
fix wrong curl arg
This commit is contained in:
parent
addb04b4d8
commit
1af29171e1
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ sudo cp ../conf/logrotate /etc/logrotate.d/ynh-ghostblog
|
|||
echo "Registering admin..."
|
||||
admin_name=$(sudo yunohost user list | python ../conf/user_getname.py $admin)
|
||||
admin_mail=$(sudo yunohost user list | python ../conf/user_getmail.py $admin)
|
||||
curl -kL -X POST https://$domain$path/ghost/signup --data-url-encode "name=$admin_name&email=$admin_mail&password=$password" > /dev/null 2>&1
|
||||
curl -kL -X POST https://$domain$path/ghost/signup --data-urlencode "name=$admin_name&email=$admin_mail&password=$password" > /dev/null 2>&1
|
||||
sudo yunohost app setting ghostblog admin -v $admin
|
||||
sudo yunohost app setting ghostblog password -v $password
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue