1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/chtickynotes_ynh.git synced 2024-09-03 18:15:57 +02:00

cleaning up

This commit is contained in:
ericgaspar 2021-09-19 09:02:25 +02:00
parent a28f6562da
commit ded1da93f0
3 changed files with 2 additions and 8 deletions

View file

@ -1,6 +1,3 @@
# See here for more information
# https://github.com/YunoHost/package_check#syntax-check_process-file
;; Test complet ;; Test complet
; Manifest ; Manifest
domain="domain.tld" domain="domain.tld"

View file

@ -4,7 +4,7 @@
"packaging_format": 1, "packaging_format": 1,
"description": { "description": {
"en": "Generic sticky notes for all purpose", "en": "Generic sticky notes for all purpose",
"fr": "Des post-its génériques à tout faire" "fr": "Post-its génériques à tout faire"
}, },
"version": "1.0~ynh3", "version": "1.0~ynh3",
"url": "https://github.com/YunoHost-Apps/chtickynotes_ynh/", "url": "https://github.com/YunoHost-Apps/chtickynotes_ynh/",
@ -26,8 +26,7 @@
"arguments": { "arguments": {
"install" : [ { "install" : [ {
"name": "domain", "name": "domain",
"type": "domain", "type": "domain"
"example": "domain.org"
},{ },{
"name": "path", "name": "path",
"type": "path", "type": "path",

View file

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