From fee46c153e85a6385bc359143db10bfb2bb6e70d Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 31 Jan 2024 09:04:12 +0100 Subject: [PATCH] Update 99-run.sh --- postgres/rootfs/etc/cont-init.d/99-run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/postgres/rootfs/etc/cont-init.d/99-run.sh b/postgres/rootfs/etc/cont-init.d/99-run.sh index a2bb338be..252ab8640 100755 --- a/postgres/rootfs/etc/cont-init.d/99-run.sh +++ b/postgres/rootfs/etc/cont-init.d/99-run.sh @@ -44,9 +44,9 @@ bashio::log.info "Starting the app" echo " " # Add docker-entrypoint command -# shellcheck disable=SC2086 -if bashio::config.true "vector.rs_enabled"; then +if "$(bashio::info.arch)" != "armv7"; then docker-entrypoint.sh postgres -c shared_preload_libraries=vectors.so else + bashio::log.warning "Your architectur is armv7, vector.rs is disabled as not supported" docker-entrypoint.sh postgres fi