From 849d6188fde1aca0dd75219b5bbe5b2697d52405 Mon Sep 17 00:00:00 2001 From: Romain Bazile Date: Sat, 5 Dec 2020 03:13:01 +0100 Subject: [PATCH] rename nginx template file --- scripts/bash/update.sh | 1 + scripts/gallery/{nginx_template.xlst => nginx_template.xslt} | 0 2 files changed, 1 insertion(+) rename scripts/gallery/{nginx_template.xlst => nginx_template.xslt} (100%) diff --git a/scripts/bash/update.sh b/scripts/bash/update.sh index ae90684..9dab73c 100755 --- a/scripts/bash/update.sh +++ b/scripts/bash/update.sh @@ -28,6 +28,7 @@ function special(){ if [[ -f "/etc/nginx/sites-available/gallery.conf" ]]; then ${log} "Updating the old nginx config" sudo rm /etc/nginx/sites-available/gallery.conf + sudo rm /etc/nginx/sites-enabled/gallery.conf fi if ! [[ -f "/etc/nginx/sites-available/gallery.conf" ]]; then ${log} "Nginx config is not installed, doing that now" diff --git a/scripts/gallery/nginx_template.xlst b/scripts/gallery/nginx_template.xslt similarity index 100% rename from scripts/gallery/nginx_template.xlst rename to scripts/gallery/nginx_template.xslt