respect subdirectories in HTML_ROOT

This commit is contained in:
Matthew Wall
2019-02-09 22:30:36 -05:00
parent 8912231bd6
commit 4e12b4834a

View File

@@ -51,7 +51,7 @@ install: build
cat $(SRC)/weewx.conf | sed \
-e 's%^WEEWX_ROOT =.*%WEEWX_ROOT = /%' \
-e 's%SKIN_ROOT =.*%SKIN_ROOT = /etc/weewx/skins%' \
-e 's%HTML_ROOT =.*%HTML_ROOT = /var/www/html/weewx%' \
-e 's%HTML_ROOT = public_html%HTML_ROOT = /var/www/html/weewx%' \
-e 's%SQLITE_ROOT = .*%SQLITE_ROOT = /var/lib/weewx%' \
> $(DST_CFGDIR)/weewx.conf
cat $(SRC)/util/init.d/weewx.debian | sed \