From 8b3025970e04ad097f78ed539a951c23dc65d47c Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 23 Nov 2021 07:46:12 +0100 Subject: [PATCH] Add templates --- doc/DESCRIPTION.md | 1 + doc/DESCRIPTION_fr.md | 1 + manifest.json | 6 ++---- scripts/restore | 5 +---- 4 files changed, 5 insertions(+), 8 deletions(-) create mode 100644 doc/DESCRIPTION.md create mode 100644 doc/DESCRIPTION_fr.md diff --git a/doc/DESCRIPTION.md b/doc/DESCRIPTION.md new file mode 100644 index 0000000..213775f --- /dev/null +++ b/doc/DESCRIPTION.md @@ -0,0 +1 @@ +Funkwhale is a community-driven project that lets you listen and share music and audio within a decentralized, open network. \ No newline at end of file diff --git a/doc/DESCRIPTION_fr.md b/doc/DESCRIPTION_fr.md new file mode 100644 index 0000000..0541ed9 --- /dev/null +++ b/doc/DESCRIPTION_fr.md @@ -0,0 +1 @@ +Funkwhale est un projet communautaire qui vous permet d'écouter et de partager de la musique et de l'audio au sein d'un réseau ouvert et décentralisé. \ No newline at end of file diff --git a/manifest.json b/manifest.json index 1ffe232..dba86fb 100644 --- a/manifest.json +++ b/manifest.json @@ -36,13 +36,11 @@ "install" : [ { "name": "domain", - "type": "domain", - "example": "example.com" + "type": "domain" }, { "name": "admin", - "type": "user", - "example": "johndoe" + "type": "user" }, { "name": "is_public", diff --git a/scripts/restore b/scripts/restore index 60b5027..37cef64 100644 --- a/scripts/restore +++ b/scripts/restore @@ -39,10 +39,7 @@ datadir=$(ynh_app_setting_get --app=$app --key=datadir) #================================================= 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 " +test ! -d $final_path || ynh_die --message="There is already a directory: $final_path " #================================================= # STANDARD RESTORATION STEPS