mirror of
https://github.com/YunoHost-Apps/mailman3_ynh.git
synced 2024-09-03 19:36:17 +02:00
commit
76c0bddb06
3 changed files with 4 additions and 7 deletions
|
@ -23,7 +23,7 @@
|
||||||
"url": "https://decentral1.se/"
|
"url": "https://decentral1.se/"
|
||||||
},
|
},
|
||||||
"requirements": {
|
"requirements": {
|
||||||
"yunohost": ">= 4.1.3"
|
"yunohost": ">= 4.3.0"
|
||||||
},
|
},
|
||||||
"multi_instance": false,
|
"multi_instance": false,
|
||||||
"services": [
|
"services": [
|
||||||
|
@ -33,8 +33,7 @@
|
||||||
"install" : [
|
"install" : [
|
||||||
{
|
{
|
||||||
"name": "domain",
|
"name": "domain",
|
||||||
"type": "domain",
|
"type": "domain"
|
||||||
"example": "example.com"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "is_public",
|
"name": "is_public",
|
||||||
|
|
|
@ -39,8 +39,6 @@ db_user_web=$db_name_web
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Validating restoration parameters..."
|
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 /usr/share/mailman3-web \
|
test ! -d /usr/share/mailman3-web \
|
||||||
|| ynh_die --message="There is already an installation present at /usr/share/mailman3-web?"
|
|| ynh_die --message="There is already an installation present at /usr/share/mailman3-web?"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue