1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/question2answer_ynh.git synced 2024-09-03 20:16:07 +02:00

Comment rephrasing

This commit is contained in:
JimboJoe 2018-07-08 09:14:36 +02:00 committed by GitHub
parent 460e87957e
commit 6390de8719
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,9 +47,8 @@ app=$YNH_APP_INSTANCE_NAME
# CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS # CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS
#================================================= #=================================================
### In case of an app wich use directly nginx as webserver wich is written in html, php the final path is "/var/www/$app" ### If the app uses nginx as web server (written in HTML/PHP in most cases), the final path should be "/var/www/$app".
### For the app which has an internal webserver or which use uwsgi wich is written in python, java, go, ... ### If the app provides an internal web server (or uses another application server such as uwsgi), the final path should be "/opt/yunohost/$app"
### the final path is "/opt/yunohost/$app"
final_path=/var/www/$app final_path=/var/www/$app
test ! -e "$final_path" || ynh_die "This path already contains a folder" test ! -e "$final_path" || ynh_die "This path already contains a folder"