Fix final path

This commit is contained in:
Josué Tille
2018-08-04 00:35:34 +02:00
parent c46400ee29
commit d919dcc49a
2 changed files with 3 additions and 3 deletions

View File

@@ -31,7 +31,7 @@ app=$YNH_APP_INSTANCE_NAME
#=================================================
# Check destination directory
final_path="/var/www/$app"
final_path="/opt/yunohost/$app"
test ! -e "$final_path" || ynh_die "This path already contains a folder"
# Normalize the url path syntax