mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
lint
This commit is contained in:
@@ -12,6 +12,7 @@ declare port
|
|||||||
|
|
||||||
# General values
|
# General values
|
||||||
port=$(bashio::addon.ingress_port)
|
port=$(bashio::addon.ingress_port)
|
||||||
|
# shellcheck disable=SC2210
|
||||||
if [ "$port" ] >1; then
|
if [ "$port" ] >1; then
|
||||||
# Adapt nginx
|
# Adapt nginx
|
||||||
sed -i "s|%%port%%|$port|g" /etc/nginx/servers/ingress.conf
|
sed -i "s|%%port%%|$port|g" /etc/nginx/servers/ingress.conf
|
||||||
|
|||||||
Reference in New Issue
Block a user