mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Update run
This commit is contained in:
@@ -32,9 +32,9 @@ if bashio::config.true "ingress_disabled"; then
|
||||
sed -i "/proxy_pass/d" /etc/nginx/servers/ingress.conf
|
||||
|
||||
# Remove BaseUrl
|
||||
if grep -q "UrlBase" "$CONFIG_LOCATION"; then
|
||||
if grep -q "radarr" "$CONFIG_LOCATION"; then
|
||||
bashio::log.warning "BaseUrl removed, restarting"
|
||||
sed -i "/UrlBase/d" "$CONFIG_LOCATION"
|
||||
sed -i "/radarr/d" "$CONFIG_LOCATION"
|
||||
bashio::addon.restart
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user