From 39ff31392ce41d889d1d6c48c3644abe0cf4350d Mon Sep 17 00:00:00 2001 From: Simon McVittie <smcv@collabora.com> Date: Wed, 12 May 2021 18:54:08 +0100 Subject: [PATCH] system-info: List /overrides/ correctly in recent SteamLinuxRuntime When pressure-vessel operates in --copy-runtime mode, /overrides is a symlink to /usr/lib/pressure-vessel/overrides. "find /overrides -ls" is useless here: it just lists the symlink, rather than traversing the directory hierarchy. Signed-off-by: Simon McVittie <smcv@collabora.com> --- steam-runtime-tools/system-info.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/steam-runtime-tools/system-info.c b/steam-runtime-tools/system-info.c index be2c172f6..0c85ebb9d 100644 --- a/steam-runtime-tools/system-info.c +++ b/steam-runtime-tools/system-info.c @@ -1231,8 +1231,8 @@ ensure_overrides_cached (SrtSystemInfo *self) if (!self->overrides.have_data) { static const char * const paths[] = { - "overrides", - "usr/lib/pressure-vessel/overrides", + "overrides/", + "usr/lib/pressure-vessel/overrides/", }; g_autoptr(GError) error = NULL; g_autofree gchar *output = NULL; -- GitLab