mirror of
https://github.com/YunoHost-Apps/flarum_ynh.git
synced 2024-09-03 18:36:24 +02:00
Cleaning up
This commit is contained in:
parent
ae198914cf
commit
7abe57c55f
3 changed files with 7 additions and 11 deletions
|
@ -3,9 +3,9 @@
|
|||
"id": "flarum",
|
||||
"packaging_format": 1,
|
||||
"description": {
|
||||
"en": "Next-generation forum made simple.",
|
||||
"fr": "Un forum de nouvelle génération, simplement.",
|
||||
"de": "Forum der nächsten Generation leicht gemacht."
|
||||
"en": "Next-generation forum made simple",
|
||||
"fr": "Forum de nouvelle génération, simplement",
|
||||
"de": "Forum der nächsten Generation leicht gemacht"
|
||||
},
|
||||
"version": "1.0.0~ynh5",
|
||||
"url": "http://flarum.org/",
|
||||
|
@ -27,7 +27,7 @@
|
|||
"multi_instance": true,
|
||||
"services": [
|
||||
"nginx",
|
||||
"php7.0-fpm",
|
||||
"php7.3-fpm",
|
||||
"mysql"
|
||||
],
|
||||
"arguments": {
|
||||
|
@ -42,8 +42,7 @@
|
|||
},
|
||||
{
|
||||
"name": "domain",
|
||||
"type": "domain",
|
||||
"example": "example.com"
|
||||
"type": "domain"
|
||||
},
|
||||
{
|
||||
"name": "path",
|
||||
|
@ -53,8 +52,7 @@
|
|||
},
|
||||
{
|
||||
"name": "admin",
|
||||
"type": "user",
|
||||
"example": "johndoe"
|
||||
"type": "user"
|
||||
},
|
||||
{
|
||||
"name": "password",
|
||||
|
|
|
@ -65,7 +65,7 @@ ynh_app_setting_set --app=$app --key=ldap_version --value=$ldap_version
|
|||
#=================================================
|
||||
# INSTALL DEPENDENCIES
|
||||
#=================================================
|
||||
ynh_script_progression --message="Installing dependencies..." --weight=2
|
||||
ynh_script_progression --message="Installing dependencies..." --weight=2
|
||||
|
||||
ynh_install_app_dependencies $pkg_dependencies
|
||||
|
||||
|
|
|
@ -40,8 +40,6 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
|||
#=================================================
|
||||
ynh_script_progression --message="Validating restoration parameters..."
|
||||
|
||||
ynh_webpath_available --domain=$domain --path_url=$path_url \
|
||||
|| ynh_die --message="Path not available: ${domain}${path_url}"
|
||||
test ! -d $final_path \
|
||||
|| ynh_die --message="There is already a directory: $final_path "
|
||||
|
||||
|
|
Loading…
Reference in a new issue