From 71852e48585433b1bb7d14333ddffe24995f13ac Mon Sep 17 00:00:00 2001 From: Philippe Coval Date: Wed, 10 Mar 2021 11:47:11 +0100 Subject: [PATCH] script: Update lib path for ld I have observed that Ubuntu core-20 installs to /usr/local so this should be updated Relate-to: https://github.com/adoptware/pinball/issues/21 Signed-off-by: Philippe Coval --- xwayland-preload/xwayland-kiosk-launch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xwayland-preload/xwayland-kiosk-launch b/xwayland-preload/xwayland-kiosk-launch index 3d2074f..46a05ac 100755 --- a/xwayland-preload/xwayland-kiosk-launch +++ b/xwayland-preload/xwayland-kiosk-launch @@ -133,7 +133,7 @@ fi # Launch Xwayland. SNAPPY_PRELOAD=$SNAP \ -LD_PRELOAD=$SNAP/lib/libxwayland-preload.so \ +LD_PRELOAD=$SNAP/usr/local/lib/libxwayland-preload.so \ $SNAP/usr/bin/Xwayland -terminate :${port} & trap "trap - SIGTERM EXIT && kill -- -$$" SIGINT SIGTERM SIGQUIT EXIT # kill on signal or quit