mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Merge pull request #2129 from alexbelgium/create-pull-request/patch-1759019547 nobuild
Github bot: fix linting issues nobuild
This commit is contained in:
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
|
||||
bashio::log.info "Patching Chromium shared memory helper for reliable startup"
|
||||
cat <<'PATCH' > "${fix_file}"
|
||||
cat << 'PATCH' > "${fix_file}"
|
||||
# shellcheck shell=sh
|
||||
# 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)
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
|
||||
declare config
|
||||
|
||||
config=$(\
|
||||
config=$(
|
||||
bashio::var.json \
|
||||
host "http://127.0.0.1" \
|
||||
port "^$(bashio::addon.port 9001)" \
|
||||
port "^$(bashio::addon.port 9001)"
|
||||
)
|
||||
|
||||
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