1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/streama_ynh.git synced 2024-09-03 20:26:30 +02:00
This commit is contained in:
ericgaspar 2021-09-22 00:08:28 +02:00
parent 4404675f30
commit 6bb0015ae4
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 1 additions and 4 deletions

View file

@ -31,8 +31,7 @@
"arguments": {
"install": [{
"name": "domain",
"type": "domain",
"example": "streama.example.com"
"type": "domain"
},
{
"name": "is_public",

View file

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