mirror of
https://github.com/YunoHost-Apps/privatebin_ynh.git
synced 2024-09-03 20:15:56 +02:00
cleaning up
This commit is contained in:
parent
e21aeb4ac8
commit
b8362d83e2
2 changed files with 1 additions and 5 deletions
|
@ -13,7 +13,6 @@
|
|||
"website": "https://privatebin.info/",
|
||||
"demo": "https://privatebin.net/",
|
||||
"admindoc": "https://github.com/PrivateBin/PrivateBin/wiki",
|
||||
"userdoc": "https://yunohost.org/en/app_privatebin",
|
||||
"code": "https://github.com/PrivateBin/PrivateBin"
|
||||
},
|
||||
"license": "Zlib",
|
||||
|
@ -33,8 +32,7 @@
|
|||
"install" : [
|
||||
{
|
||||
"name": "domain",
|
||||
"type": "domain",
|
||||
"example": "domain.org"
|
||||
"type": "domain"
|
||||
},
|
||||
{
|
||||
"name": "path",
|
||||
|
|
|
@ -33,8 +33,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…
Add table
Reference in a new issue