1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/writefreely_ynh.git synced 2024-09-03 20:36:02 +02:00

remove site_description

This commit is contained in:
yalh76 2019-02-10 16:33:54 +01:00
parent 6f6791966a
commit 87c751c231
4 changed files with 1 additions and 15 deletions

View file

@ -11,7 +11,6 @@
is_public=1 (PUBLIC|public=1|private=0) is_public=1 (PUBLIC|public=1|private=0)
password="pass" password="pass"
single_user="true" single_user="true"
site_description="WriteFreely Blogs"
open_registration="true" open_registration="true"
max_blogs="1" max_blogs="1"
federation="true" federation="true"

View file

@ -20,7 +20,7 @@ port = 3306
[app] [app]
site_name = site_name =
site_description = __SITEDESCRIPTION__ site_description =
host = __DOMAIN_URL__ host = __DOMAIN_URL__
theme = write theme = write
disable_js = false disable_js = false

View file

@ -72,16 +72,6 @@
}, },
"default": true "default": true
}, },
{
"name": "site_description",
"type": "string",
"ask": {
"en": "Choose a description for your WriteFreely instance",
"fr": "Choisissez une description pour votre instance WriteFreely"
},
"default": "WriteFreely_Blogs"
},
{
"name": "open_registration", "name": "open_registration",
"type": "boolean", "type": "boolean",
"ask": { "ask": {

View file

@ -43,7 +43,6 @@ is_public=$YNH_APP_ARG_IS_PUBLIC
#language=$YNH_APP_ARG_LANGUAGE #language=$YNH_APP_ARG_LANGUAGE
password=$YNH_APP_ARG_PASSWORD password=$YNH_APP_ARG_PASSWORD
single_user=$YNH_APP_ARG_SINGLE_USER single_user=$YNH_APP_ARG_SINGLE_USER
site_description=$YNH_APP_ARG_SITE_DESCRIPTION
open_registration=$YNH_APP_ARG_OPEN_REGISTRATION open_registration=$YNH_APP_ARG_OPEN_REGISTRATION
max_blogs=$YNH_APP_ARG_MAX_BLOGS max_blogs=$YNH_APP_ARG_MAX_BLOGS
federation=$YNH_APP_ARG_FEDERATION federation=$YNH_APP_ARG_FEDERATION
@ -96,7 +95,6 @@ ynh_app_setting_set $app admin $admin
ynh_app_setting_set $app is_public $is_public ynh_app_setting_set $app is_public $is_public
#ynh_app_setting_set $app language $language #ynh_app_setting_set $app language $language
ynh_app_setting_set $app single_user $single_user ynh_app_setting_set $app single_user $single_user
ynh_app_setting_set $app site_description $site_description
ynh_app_setting_set $app open_registration $open_registration ynh_app_setting_set $app open_registration $open_registration
ynh_app_setting_set $app max_blogs $max_blogs ynh_app_setting_set $app max_blogs $max_blogs
ynh_app_setting_set $app federation $federation ynh_app_setting_set $app federation $federation
@ -275,7 +273,6 @@ ynh_replace_string "__DBPWD__" "$db_pwd" "$final_path/config.ini"
ynh_replace_string "__PORT__" "$port" "$final_path/config.ini" ynh_replace_string "__PORT__" "$port" "$final_path/config.ini"
ynh_replace_string "__DOMAIN_URL__" "https://$domain$path_url" "$final_path/config.ini" ynh_replace_string "__DOMAIN_URL__" "https://$domain$path_url" "$final_path/config.ini"
ynh_replace_string "__SINGLEUSER__" "$single_user" "$final_path/config.ini" ynh_replace_string "__SINGLEUSER__" "$single_user" "$final_path/config.ini"
ynh_replace_string "__SITEDESCRIPTION__" "$site_description" "$final_path/config.ini"
ynh_replace_string "__OPENREGISTRATION__" "$open_registration" "$final_path/config.ini" ynh_replace_string "__OPENREGISTRATION__" "$open_registration" "$final_path/config.ini"
ynh_replace_string "__MAXBLOGS__" "$max_blogs" "$final_path/config.ini" ynh_replace_string "__MAXBLOGS__" "$max_blogs" "$final_path/config.ini"
ynh_replace_string "__FEDERATION__" "$federation" "$final_path/config.ini" ynh_replace_string "__FEDERATION__" "$federation" "$final_path/config.ini"