mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
fix: auto-fix linting issues
This commit is contained in:
committed by
github-actions[bot]
parent
caba7e0ecc
commit
de0e40c2ea
0
emby_beta/rootfs/etc/services.d/nginx/run
Normal file → Executable file
0
emby_beta/rootfs/etc/services.d/nginx/run
Normal file → Executable file
@@ -6,7 +6,7 @@ fix_file="/etc/chromium.d/dev-shm"
|
|||||||
|
|
||||||
if [ -f "${fix_file}" ]; then
|
if [ -f "${fix_file}" ]; then
|
||||||
bashio::log.info "Patching Chromium shared memory helper for reliable startup"
|
bashio::log.info "Patching Chromium shared memory helper for reliable startup"
|
||||||
cat <<'PATCH' > "${fix_file}"
|
cat << 'PATCH' > "${fix_file}"
|
||||||
# shellcheck shell=sh
|
# shellcheck shell=sh
|
||||||
# Patched by alexbelgium/hassio-addons to avoid arithmetic errors with large values on some shells.
|
# Patched by alexbelgium/hassio-addons to avoid arithmetic errors with large values on some shells.
|
||||||
shm_avail=$(findmnt -bnr -o avail -T /dev/shm 2>/dev/null)
|
shm_avail=$(findmnt -bnr -o avail -T /dev/shm 2>/dev/null)
|
||||||
|
|||||||
@@ -3,10 +3,10 @@
|
|||||||
|
|
||||||
declare config
|
declare config
|
||||||
|
|
||||||
config=$(\
|
config=$(
|
||||||
bashio::var.json \
|
bashio::var.json \
|
||||||
host "http://127.0.0.1" \
|
host "http://127.0.0.1" \
|
||||||
port "^$(bashio::addon.port 9001)" \
|
port "^$(bashio::addon.port 9001)"
|
||||||
)
|
)
|
||||||
|
|
||||||
if bashio::discovery "mealie" "${config}" > /dev/null; then
|
if bashio::discovery "mealie" "${config}" > /dev/null; then
|
||||||
|
|||||||
0
nzbget/rootfs/etc/services.d/nginx/run
Normal file → Executable file
0
nzbget/rootfs/etc/services.d/nginx/run
Normal file → Executable file
Reference in New Issue
Block a user