shim: Use SNAP_USER_COMMON for our home tree

LSI enables Steam, which will invariably have massive games on disk.
We do NOT want this large data being moved around between upgrades,
and need this data to be "sticky" and unversioned.

To alleviate le huge pains of upgrades, start using this directory before
we go into production. This will mean only one last switch of the games
tree.

Signed-off-by: Ikey Doherty <ikey@solus-project.com>
This commit is contained in:
Ikey Doherty
2017-11-14 05:58:19 +00:00
parent d73b7e7381
commit 82130bfbe8
+1 -1
View File
@@ -253,7 +253,7 @@ static void shim_export_extra(const char *prefix)
shim_export_merge_vars("XDG_DATA_DIRS", prefix, "/usr/share");
snap_user = getenv("SNAP_USER_DATA");
snap_user = getenv("SNAP_USER_COMMON");
shim_export_merge_vars("XDG_DATA_DIRS", NULL, "/usr/share");
shim_export_merge_vars("XDG_DATA_DIRS", prefix, "/usr/share");
if (snap_user) {