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:
parent
26e94025fd
commit
53d3e0a674
1 changed files with 3 additions and 4 deletions
|
@ -45,9 +45,8 @@ sudo chmod +x /etc/init.d/$app
|
|||
sudo update-rc.d $app defaults
|
||||
|
||||
# nginx
|
||||
$nginx_conf_path=/etc/nginx/conf.d/$domain.d/$app.conf
|
||||
if [ "$path" = "" ];
|
||||
then
|
||||
nginx_conf_path=/etc/nginx/conf.d/$domain.d/$app.conf
|
||||
if [ "$path" = "" ]; then
|
||||
sudo cp ../conf/nginx.conf-nosub $nginx_conf_path
|
||||
else
|
||||
sudo cp ../conf/nginx.conf $nginx_conf_path
|
||||
|
|
Loading…
Add table
Reference in a new issue