1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/leed_ynh.git synced 2024-09-03 19:26:32 +02:00
This commit is contained in:
ericgaspar 2021-09-25 16:03:35 +02:00
parent 9b6a245614
commit 5e50e11963
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 5 additions and 7 deletions

View file

@ -30,8 +30,7 @@
"install" : [
{
"name": "domain",
"type": "domain",
"example": "domain.org"
"type": "domain"
},
{
"name": "path",
@ -41,8 +40,7 @@
},
{
"name": "admin",
"type": "user",
"example": "john"
"type": "user"
},
{
"name": "is_public",
@ -65,8 +63,7 @@
},
{
"name": "password",
"type": "password",
"example": "Choose a password"
"type": "password"
}
]
}

View file

@ -25,7 +25,7 @@ path_url=$YNH_APP_ARG_PATH
admin=$YNH_APP_ARG_ADMIN
is_public=$YNH_APP_ARG_IS_PUBLIC
language=$YNH_APP_ARG_LANGUAGE
ynh_print_OFF; user_pwd=$YNH_APP_ARG_PASSWORD; ynh_print_ON
user_pwd=$YNH_APP_ARG_PASSWORD
app=$YNH_APP_INSTANCE_NAME

View file

@ -202,6 +202,7 @@ then
ynh_permission_update --permission="main" --add="visitors"
# Start the upgrade procedure of leed.
ynh_local_curl "/"
ynh_permission_update --permission="main" --remove="visitors"
fi
#=================================================