1
0
Fork 0
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:
rodinux 2024-08-19 02:09:12 +02:00
parent f0e43603b2
commit 978c4fbe8b
2 changed files with 3 additions and 3 deletions

View file

@ -41,7 +41,7 @@ ram.runtime = "50M"
choices.Belgique = "Belgique"
choices.Suisse = "Suisse"
[install.name]
[install.name_association]
ask.fr = "Nom de l'association"
type = "string"

View file

@ -81,13 +81,13 @@ ynh_script_progression --message="Finalizing installation..." --weight=1
installUrl="/var/www/paheko/www/admin/install.php?submit"
country=$country
name=$name
name_association=$name_association
user_name=$user_name
user_email=$user_email
password=$password
password_confirmed=$password_confirmed
ynh_local_curl $installUrl "country=$country" "name=$name" "user_name=$user_name" "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"
#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