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:
parent
a28f6562da
commit
ded1da93f0
3 changed files with 2 additions and 8 deletions
|
@ -1,6 +1,3 @@
|
|||
# See here for more information
|
||||
# https://github.com/YunoHost/package_check#syntax-check_process-file
|
||||
|
||||
;; Test complet
|
||||
; Manifest
|
||||
domain="domain.tld"
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"packaging_format": 1,
|
||||
"description": {
|
||||
"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",
|
||||
"url": "https://github.com/YunoHost-Apps/chtickynotes_ynh/",
|
||||
|
@ -26,8 +26,7 @@
|
|||
"arguments": {
|
||||
"install" : [ {
|
||||
"name": "domain",
|
||||
"type": "domain",
|
||||
"example": "domain.org"
|
||||
"type": "domain"
|
||||
},{
|
||||
"name": "path",
|
||||
"type": "path",
|
||||
|
|
|
@ -32,8 +32,6 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
|||
#=================================================
|
||||
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 \
|
||||
|| ynh_die --message="There is already a directory: $final_path "
|
||||
|
||||
|
|
Loading…
Reference in a new issue