mirror of
https://github.com/YunoHost-Apps/radicale_ynh.git
synced 2024-09-03 20:16:14 +02:00
wget moins verbeux
This commit is contained in:
parent
8f63e05266
commit
8bb9d45093
2 changed files with 1 additions and 69 deletions
|
@ -1,68 +0,0 @@
|
||||||
{
|
|
||||||
"name": "Radicale",
|
|
||||||
"id": "radicale",
|
|
||||||
"packaging_format": 1,
|
|
||||||
"description": {
|
|
||||||
"en": "CalDAV (calendar) and CardDAV (contact) synchronization server",
|
|
||||||
"fr": "Serveur de synchronisation CalDAV et CardDAV"
|
|
||||||
},
|
|
||||||
"version": "1.1.1",
|
|
||||||
"url": "http://radicale.org",
|
|
||||||
"licence": "free",
|
|
||||||
"maintainer": {
|
|
||||||
"name": "beudbeud",
|
|
||||||
"email": "beudbeud@beudibox.fr"
|
|
||||||
},
|
|
||||||
"multi_instance": "false",
|
|
||||||
"services": [
|
|
||||||
"nginx",
|
|
||||||
"php5-fpm"
|
|
||||||
],
|
|
||||||
"arguments": {
|
|
||||||
"install" : [
|
|
||||||
{
|
|
||||||
"name": "domain",
|
|
||||||
"ask": {
|
|
||||||
"en": "Choose a domain for Radicale",
|
|
||||||
"fr": "Choisissez un domaine pour Radicale"
|
|
||||||
},
|
|
||||||
"example": "domain.org"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "path",
|
|
||||||
"ask": {
|
|
||||||
"en": "Choose a path for Radicale",
|
|
||||||
"fr": "Choisissez un chemin pour Radicale"
|
|
||||||
},
|
|
||||||
"example": "/radicale",
|
|
||||||
"default": "/radicale"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "admin",
|
|
||||||
"ask": {
|
|
||||||
"en": "Choose the administrator (must be an existing YunoHost user)",
|
|
||||||
"fr": "Choisissez un administrateur (doit être un utilisateur YunoHost)"
|
|
||||||
},
|
|
||||||
"example": "john"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "infcloud",
|
|
||||||
"ask": {
|
|
||||||
"en": "Install InfCloud web interface?",
|
|
||||||
"fr": "Installer l'interface web InfCloud?"
|
|
||||||
},
|
|
||||||
"choices": ["Yes", "No"],
|
|
||||||
"default": "Yes"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "language",
|
|
||||||
"ask": {
|
|
||||||
"en": "Choose your interface language",
|
|
||||||
"fr": "Choisissez la langue de l'interface"
|
|
||||||
},
|
|
||||||
"choices" : ["Czech", "Danish", "German", "English/US", "Spanish", "French", "Italian", "Japan", "Hungarian", "Dutch", "Slovak", "Turkish", "Russian", "Ukrainian", "Chinese"],
|
|
||||||
"default" : "English/US"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -71,7 +71,7 @@ GENERATE_DB () { # Créer une base de données et un utilisateur dédié au nom
|
||||||
|
|
||||||
SETUP_SOURCE () { # Télécharge la source, décompresse et copie dans $final_path
|
SETUP_SOURCE () { # Télécharge la source, décompresse et copie dans $final_path
|
||||||
# $1 = Nom de l'archive téléchargée.
|
# $1 = Nom de l'archive téléchargée.
|
||||||
wget -nv --show-progress -i ../sources/source_url -O $1
|
wget -nv -i ../sources/source_url -O $1
|
||||||
# Vérifie la somme de contrôle de la source téléchargée.
|
# Vérifie la somme de contrôle de la source téléchargée.
|
||||||
md5sum -c ../sources/source_md5 --status || (echo "Corrupt source" >&2 && false)
|
md5sum -c ../sources/source_md5 --status || (echo "Corrupt source" >&2 && false)
|
||||||
# Décompresse la source
|
# Décompresse la source
|
||||||
|
|
Loading…
Reference in a new issue