#!/bin/sh
# Alpine (musl) ships no ldconfig — musl's dynamic linker doesn't cache, so
# skip cleanly instead of failing. On Debian/Ubuntu, where ldconfig exists,
# a real failure must still propagate (unlike a blanket `|| true`, which
# would silently leave a stale linker cache and mask an actual problem).
if command -v ldconfig >/dev/null 2>&1; then
    ldconfig
fi
