[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

@@ -42,6 +42,9 @@ app=$YNH_APP_INSTANCE_NAME
# CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS
#=================================================
final_path=/var/www/$app
test ! -e "$final_path" || ynh_die "This path already contains a folder"
# Normalize the url path syntax
path_url=$(ynh_normalize_url_path $path_url)
@@ -50,9 +53,6 @@ ynh_webpath_available $domain $path_url
# Register (book) web path
ynh_webpath_register $app $domain $path_url
final_path=/var/www/$app
test ! -e "$final_path" || ynh_die "This path already contains a folder"
#=================================================
# STORE SETTINGS FROM MANIFEST
#=================================================
@@ -118,7 +118,7 @@ ynh_system_user_create $app
#=================================================
# Create a dedicated php-fpm config
ynh_fpm_config
ynh_add_fpm_config
#=================================================
# SPECIFIC SETUP