1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/weblate_ynh.git synced 2024-10-01 13:35:04 +02:00

Add admin parameter, remove language

This commit is contained in:
Jean-Baptiste Holcroft 2017-09-13 20:55:29 +02:00
parent 604c09a72b
commit dd11623620
2 changed files with 9 additions and 3 deletions

View file

@ -45,7 +45,15 @@
"en": "Is it a public server ?"
},
"default": "0"
}
},
{
"name": "admin",
"type": "user",
"ask": {
"en": "Choose an admin user"
},
"example": "simon"
},
]
}

View file

@ -24,7 +24,6 @@ domain=$YNH_APP_ARG_DOMAIN
path_url=$YNH_APP_ARG_PATH
admin=$YNH_APP_ARG_ADMIN
is_public=$YNH_APP_ARG_IS_PUBLIC
language=$YNH_APP_ARG_LANGUAGE
# This is a multi-instance app, meaning it can be installed several times independently
# The id of the app as stated in the manifest is available as $YNH_APP_ID
@ -61,7 +60,6 @@ ynh_app_setting_set $app domain $domain
ynh_app_setting_set $app path $path_url
ynh_app_setting_set $app admin $admin
ynh_app_setting_set $app is_public $is_public
ynh_app_setting_set $app language $language
#=================================================
# STANDARD MODIFICATIONS