mirror of
https://github.com/YunoHost-Apps/kimai2_ynh.git
synced 2024-09-03 19:26:26 +02:00
Fix linter warnings
This commit is contained in:
parent
d50fb475b2
commit
31459bc357
2 changed files with 10 additions and 13 deletions
|
@ -3,9 +3,9 @@
|
|||
"id": "kimai2",
|
||||
"packaging_format": 1,
|
||||
"description": {
|
||||
"en": "A multi-user application for time-tracking with support for mobile devices",
|
||||
"fr": "Une application web de suivi du temps, multi-utilisateurs, et compatible avec les appareils mobiles",
|
||||
"de": "Eine web-basierte Mehrbenutzer-Zeiterfassung mit Rechnungsdruck mit Unterstützung für mobile Endgeräte",
|
||||
"en": "Multi-user application for time-tracking with support for mobile devices",
|
||||
"fr": "Application web de suivi du temps, multi-utilisateurs, et compatible avec les appareils mobiles",
|
||||
"de": "Web-basierte Mehrbenutzer-Zeiterfassung mit Rechnungsdruck mit Unterstützung für mobile Endgeräte",
|
||||
"cs": "Víceuživatelská webová aplikace pro sledování času s podporou mobilních zařízení"
|
||||
},
|
||||
"version": "1.14.3~ynh1",
|
||||
|
@ -15,12 +15,12 @@
|
|||
"name": "Anmol Sharma"
|
||||
},
|
||||
"requirements": {
|
||||
"yunohost": ">= 4.0.0"
|
||||
"yunohost": ">= 4.2.4"
|
||||
},
|
||||
"multi_instance": true,
|
||||
"services": [
|
||||
"nginx",
|
||||
"php7.0-fpm",
|
||||
"php7.3-fpm",
|
||||
"mysql"
|
||||
],
|
||||
"arguments": {
|
||||
|
@ -33,8 +33,7 @@
|
|||
"fr": "Choisissez un nom de domaine pour Kimai2",
|
||||
"de": "Wählen Sie einen Domainnamen für Kimai2",
|
||||
"cs": "Zvolte doménu pro Kimai2"
|
||||
},
|
||||
"example": "kimai2.example.com"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "admin",
|
||||
|
@ -44,8 +43,7 @@
|
|||
"fr": "Choisissez l’administrateur (should be a YunoHost registered user).",
|
||||
"de": "Wählen Sie einen Admin Benutzer (sollte ein registrierter YunoHost Benutzer sein).",
|
||||
"cs": "Zvolte administrátora (musí to být registrovaný uživatel YunoHostu)."
|
||||
},
|
||||
"example": "johndoe"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "is_public",
|
||||
|
@ -62,12 +60,13 @@
|
|||
"name": "registration",
|
||||
"type": "boolean",
|
||||
"ask": {
|
||||
"en": "Are new users allowed to register ?",
|
||||
"en": "Are new users allowed to register?",
|
||||
"fr": "Est-ce que de nouveaux utilisateurs peuvent s'y inscrire ?",
|
||||
"de": "Sollen sich neue Benutzer selber registrieren können ?",
|
||||
"cs": "Mohou se noví uživatelé registrovat?"
|
||||
},
|
||||
"default": false
|
||||
} ]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -36,8 +36,6 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
|||
#=================================================
|
||||
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…
Add table
Reference in a new issue