mirror of
https://github.com/YunoHost-Apps/rss-bridge_ynh.git
synced 2024-09-03 20:25:51 +02:00
Cleaning up
This commit is contained in:
parent
01e44911e7
commit
f06ed63a43
2 changed files with 4 additions and 7 deletions
|
@ -3,8 +3,8 @@
|
||||||
"id": "rss-bridge",
|
"id": "rss-bridge",
|
||||||
"packaging_format": 1,
|
"packaging_format": 1,
|
||||||
"description": {
|
"description": {
|
||||||
"en": "RSS and Atom feed generator for websites that don't have one.",
|
"en": "RSS and Atom feed generator for websites that don't have one",
|
||||||
"fr": "Générateur de flux RSS et Atom pour les sites Web qui n'en ont pas."
|
"fr": "Générateur de flux RSS et Atom pour les sites Web qui n'en ont pas"
|
||||||
},
|
},
|
||||||
"version": "2021-04-25~ynh1",
|
"version": "2021-04-25~ynh1",
|
||||||
"url": "https://github.com/RSS-Bridge/rss-bridge",
|
"url": "https://github.com/RSS-Bridge/rss-bridge",
|
||||||
|
@ -22,7 +22,7 @@
|
||||||
},
|
},
|
||||||
"multi_instance": true,
|
"multi_instance": true,
|
||||||
"requirements": {
|
"requirements": {
|
||||||
"yunohost": ">= 4.2.0"
|
"yunohost": ">= 4.2.4"
|
||||||
},
|
},
|
||||||
"services": [
|
"services": [
|
||||||
"nginx",
|
"nginx",
|
||||||
|
@ -33,8 +33,7 @@
|
||||||
"install" : [
|
"install" : [
|
||||||
{
|
{
|
||||||
"name": "domain",
|
"name": "domain",
|
||||||
"type": "domain",
|
"type": "domain"
|
||||||
"example": "domain.org"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "path",
|
"name": "path",
|
||||||
|
|
|
@ -38,8 +38,6 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Validating restoration parameters..." --weight=1
|
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 \
|
test ! -d $final_path \
|
||||||
|| ynh_die --message="There is already a directory: $final_path "
|
|| ynh_die --message="There is already a directory: $final_path "
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue