1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dolibarr_ynh.git synced 2024-09-03 18:35:53 +02:00

Cleaning up

This commit is contained in:
ericgaspar 2021-09-25 11:05:01 +02:00
parent 5008b92f88
commit 788df7fdaf
No known key found for this signature in database
GPG key ID: 574F281483054D44
4 changed files with 6 additions and 26 deletions

View file

@ -1,8 +1,8 @@
;; Test complet
; Manifest
domain="domain.tld" (DOMAIN)
path="/path" (PATH)
admin="john" (USER)
domain="domain.tld"
path="/path"
admin="john"
; Checks
pkg_linter=1
setup_sub_dir=1

View file

@ -14,7 +14,7 @@
"url": "https://github.com/mastereur"
},
"requirements": {
"yunohost": ">= 4.0.0"
"yunohost": ">= 4.2.4"
},
"multi_instance": true,
"services": [
@ -30,8 +30,7 @@
"ask": {
"en": "Choose a domain name for Dolibarr",
"fr": "Choisissez un nom de domaine pour Dolibarr"
},
"example": "example.com"
}
},
{
"name": "path",
@ -49,8 +48,7 @@
"ask": {
"en": "Choose an admin user",
"fr": "Choisissez ladministrateur"
},
"example": "johndoe"
}
}
]
}

View file

@ -1,16 +0,0 @@
## Problem
- *Description of why you made this PR*
## Solution
- *And how do you fix that problem*
## PR Status
- [ ] Code finished.
- [ ] Tested with Package_check.
- [ ] Fix or enhancement tested.
- [ ] Upgrade from last version tested.
- [ ] Can be reviewed and tested.
## Package_check results
---
* An automatic package_check will be launch at https://ci-apps-dev.yunohost.org/, when you add a specific comment to your Pull Request: "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!"*

View file

@ -40,8 +40,6 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
#=================================================
ynh_script_progression --message="Validating restoration parameters..." --weight=1
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 "