mirror of
https://github.com/YunoHost-Apps/paheko_ynh.git
synced 2024-09-03 19:56:22 +02:00
try add post-install
This commit is contained in:
parent
978c4fbe8b
commit
4fbe6ba3c1
1 changed files with 4 additions and 2 deletions
|
@ -78,7 +78,9 @@ chown $app:$app "$install_dir/config.local.php"
|
|||
# Post-Installation with curl
|
||||
ynh_script_progression --message="Finalizing installation..." --weight=1
|
||||
|
||||
installUrl="/var/www/paheko/www/admin/install.php?submit"
|
||||
domain=$domain
|
||||
|
||||
admin_url="/admin/install.php?submit"
|
||||
|
||||
country=$country
|
||||
name_association=$name_association
|
||||
|
@ -87,7 +89,7 @@ user_email=$user_email
|
|||
password=$password
|
||||
password_confirmed=$password_confirmed
|
||||
|
||||
ynh_local_curl $installUrl "country=$country" "name=$name_association" "user_name=$user_name" "user_email=$user_email" "password=$password" "password_confirmed=$password_confirmed"
|
||||
ynh_local_curl $admin_url "country=$country" "name=$name_association" "user_name=$user_name" "user_email=$user_email" "password=$password" "password_confirmed=$password_confirmed"
|
||||
#https://paheko.rodinux.fr/admin/install.php --args="country=FR&name=toto&user_name=bob&user_email=bob@example.org&password=bopbidibopbopbop&password_confirmed=bopbidibopbopbop"
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
|
|
Loading…
Add table
Reference in a new issue