#!/bin/sh
# Local Playwright system libraries (no sudo required on Ubuntu 26.04).
ROOT="${PLAYWRIGHT_DEPS_ROOT:-$HOME/.local/playwright-deps/root}"
if [ -d "$ROOT/usr/lib/x86_64-linux-gnu" ]; then
  export LD_LIBRARY_PATH="$ROOT/usr/lib/x86_64-linux-gnu:$ROOT/lib/x86_64-linux-gnu:$ROOT/usr/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
fi