mirror of
https://github.com/YunoHost-Apps/paheko_ynh.git
synced 2024-09-03 19:56:22 +02:00
keep first panel_config working
This commit is contained in:
parent
4fbe6ba3c1
commit
a9d2d8515d
2 changed files with 13 additions and 42 deletions
|
@ -34,38 +34,10 @@ ram.runtime = "50M"
|
|||
type = "group"
|
||||
default = "visitors"
|
||||
|
||||
[install.country]
|
||||
ask.fr = "Nom de l'association"
|
||||
type = "string"
|
||||
choices.France = "France"
|
||||
choices.Belgique = "Belgique"
|
||||
choices.Suisse = "Suisse"
|
||||
|
||||
[install.name_association]
|
||||
ask.fr = "Nom de l'association"
|
||||
type = "string"
|
||||
|
||||
[install.user_name]
|
||||
ask.fr = "Nom et Prénom"
|
||||
type = "string"
|
||||
|
||||
[install.user_email]
|
||||
ask.fr = "Adresse E-Mail"
|
||||
type = "string"
|
||||
|
||||
[install.password]
|
||||
ask.fr="Mot de passe"
|
||||
type = "password"
|
||||
|
||||
[install.password_confirmed]
|
||||
ask.fr="Encore le mot de passe (vérification)"
|
||||
type = "password"
|
||||
|
||||
[resources]
|
||||
[resources.sources.main]
|
||||
url = "https://fossil.kd2.org/paheko/uv/paheko-1.3.11.tar.gz"
|
||||
sha256 = "88624f5efdc7dc7ce779c29827d25e8a9a8ffa21793c1a8320c3705d5ac1fc31"
|
||||
|
||||
[resources.sources.main]
|
||||
url = "https://fossil.kd2.org/paheko/uv/paheko-1.3.11.tar.gz"
|
||||
sha256 = "88624f5efdc7dc7ce779c29827d25e8a9a8ffa21793c1a8320c3705d5ac1fc31"
|
||||
|
||||
[resources.system_user]
|
||||
allow_email = true
|
||||
|
|
|
@ -76,21 +76,20 @@ chown $app:$app "$install_dir/config.local.php"
|
|||
### forms.
|
||||
|
||||
# Post-Installation with curl
|
||||
ynh_script_progression --message="Finalizing installation..." --weight=1
|
||||
# ynh_script_progression --message="Finalizing installation..." --weight=1
|
||||
|
||||
domain=$domain
|
||||
# domain=$domain
|
||||
# admin_url="/admin/install.php"
|
||||
|
||||
admin_url="/admin/install.php?submit"
|
||||
# country=$country
|
||||
# name_association=$name_association
|
||||
# user_name=$user_name
|
||||
# user_email=$user_email
|
||||
# password=$password
|
||||
# password_confirmed=$password_confirmed
|
||||
|
||||
country=$country
|
||||
name_association=$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"
|
||||
|
||||
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