[enh] Some corrections

This commit is contained in:
Maniack Crudelis
2017-08-28 23:55:51 +02:00
parent b4c6969284
commit a625ad79da
10 changed files with 42 additions and 134 deletions

View File

@@ -36,7 +36,7 @@ db_name=$(ynh_app_setting_get $app db_name)
# CHECK IF THE APP CAN BE RESTORED
#=================================================
yunohost app checkurl "${domain}${path_url}" -a "$app" \
ynh_webpath_available $domain $path_url \
|| ynh_die "Path not available: ${domain}${path_url}"
test ! -d $final_path \
|| ynh_die "There is already a directory: $final_path "