1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/etherpad_ynh.git synced 2024-09-03 18:36:10 +02:00

Fix obviously wrong code

This commit is contained in:
julienmalik 2017-01-12 12:03:49 +01:00 committed by GitHub
parent 26e94025fd
commit 53d3e0a674

View file

@ -45,10 +45,9 @@ sudo chmod +x /etc/init.d/$app
sudo update-rc.d $app defaults sudo update-rc.d $app defaults
# nginx # nginx
$nginx_conf_path=/etc/nginx/conf.d/$domain.d/$app.conf nginx_conf_path=/etc/nginx/conf.d/$domain.d/$app.conf
if [ "$path" = "" ]; if [ "$path" = "" ]; then
then sudo cp ../conf/nginx.conf-nosub $nginx_conf_path
sudo cp ../conf/nginx.conf-nosub $nginx_conf_path
else else
sudo cp ../conf/nginx.conf $nginx_conf_path sudo cp ../conf/nginx.conf $nginx_conf_path
# Modify Nginx configuration file and copy it to Nginx conf directory # Modify Nginx configuration file and copy it to Nginx conf directory